Partager via


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 : Int32

    Nouvelle position de caractère à laquelle la sélection sera étendue.

Exceptions

Exception Condition
ArgumentOutOfRangeException

newEnd est inférieur à 0.

Sécurité .NET Framework

Voir aussi

Référence

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations, espace de noms