Freigeben über


IEditorOperations.ExtendSelection-Methode

Erweitert die aktuelle Auswahl Spanne der angegebenen Position.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
Sub ExtendSelection ( _
    newEnd As Integer _
)
void ExtendSelection(
    int newEnd
)
void ExtendSelection(
    int newEnd
)
abstract ExtendSelection : 
        newEnd:int -> unit
function ExtendSelection(
    newEnd : int
)

Parameter

  • newEnd
    Typ: Int32

    Die neue Zeichenposition, bis zu der die Auswahl erweitert werden soll.

Ausnahmen

Ausnahme Bedingung
ArgumentOutOfRangeException

newEnd ist kleiner als 0.

.NET Framework-Sicherheit

Siehe auch

Referenz

IEditorOperations Schnittstelle

Microsoft.VisualStudio.Text.Operations-Namespace