IEditorOperations::ExtendSelection Method (Int32)

 

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)

void ExtendSelection(
	int newEnd
)

Parameters

newEnd
Type: System::Int32

The new character position to which the selection is to be extended.

Exception Condition
ArgumentOutOfRangeException

newEnd is less than 0.

Return to top
Show: