Ler em inglês

Compartilhar via


IEditorOperations.ExtendSelection Method

Extends the current selection span to the specified position.

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

Syntax

void ExtendSelection(
    int newEnd
)

Parameters

  • newEnd
    Type: System.Int32
    The new character position to which the selection is to be extended.

Exceptions

Exception Condition
ArgumentOutOfRangeException

newEnd is less than 0.

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace