ITextSelection::Select Method (SnapshotSpan, Boolean)
Visual Studio 2015
Selects the text in the specified selection span.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Parameters
- selectionSpan
-
Type:
Microsoft.VisualStudio.Text::SnapshotSpan
The SnapshotSpan of text to select in the underlying text buffer.
- isReversed
-
Type:
System::Boolean
true if the selection was made in a reverse direction, otherwise false.
In a reversed selection, the active point is Span.Start and the anchor point is Span.End. In a non-reversed selection, the active point is span.end and the anchor point is Span.Start.
Show: