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
‘선언
Sub ExtendSelection ( _
newEnd As Integer _
)
void ExtendSelection(
int newEnd
)
void ExtendSelection(
int newEnd
)
abstract ExtendSelection :
newEnd:int -> unit
function ExtendSelection(
newEnd : int
)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.