IEditorOperations.CopySelection, méthode

Copie le texte sélectionné dans le Presse-papiers.

Espace de noms :  Microsoft.VisualStudio.Text.Operations
Assembly :  Microsoft.VisualStudio.Text.UI (dans Microsoft.VisualStudio.Text.UI.dll)

Syntaxe

'Déclaration
Function CopySelection As Boolean
bool CopySelection()
bool CopySelection()
abstract CopySelection : unit -> bool
function CopySelection() : boolean

Valeur de retour

Type : Boolean
true si l'opération du Presse-papiers a abouti ; sinon false.

Exceptions

Exception Condition
InsufficientMemoryException

Il n'existe pas mémoire suffisante pour compléter l'opération.

Sécurité .NET Framework

Voir aussi

Référence

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations, espace de noms