Expand Minimize
This topic has not yet been rated - Rate this topic

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)
void ExtendSelection(
	int newEnd
)

Parameters

newEnd
Type: Int32

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

ExceptionCondition
ArgumentOutOfRangeException

newEnd is less than 0.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.