IEditorOperations.ExtendSelection, méthode
Étend la plage de sélection actuelle à la position spécifiée.
Espace de noms : Microsoft.VisualStudio.Text.Operations
Assembly : Microsoft.VisualStudio.Text.UI (dans Microsoft.VisualStudio.Text.UI.dll)
Syntaxe
'Déclaration
Sub ExtendSelection ( _
newEnd As Integer _
)
void ExtendSelection(
int newEnd
)
void ExtendSelection(
int newEnd
)
abstract ExtendSelection :
newEnd:int -> unit
function ExtendSelection(
newEnd : int
)
Paramètres
newEnd
Type : Int32Nouvelle position de caractère à laquelle la sélection sera étendue.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | newEnd est inférieur à 0. |
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.