ITextSelection::Select Method (VirtualSnapshotPoint, VirtualSnapshotPoint)
Visual Studio 2015
Selects the text between the two VirtualSnapshotPoint objects.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Parameters
- anchorPoint
-
Type:
Microsoft.VisualStudio.Text::VirtualSnapshotPoint
The anchor point of the selection.
- activePoint
-
Type:
Microsoft.VisualStudio.Text::VirtualSnapshotPoint
The active point of the selection.
A reverse selection is created if the active point comes before the anchor point.
The active point normally corresponds to the end of the selection that contains the caret position. If the selection is reversed, then the active point comes before the anchor point.
Show: