ITextSelection::ActivePoint Property

 

Gets the active point of the selection.

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

property VirtualSnapshotPoint ActivePoint {
	VirtualSnapshotPoint get();
}

Property Value

Type: Microsoft.VisualStudio.Text::VirtualSnapshotPoint

The active 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.

Return to top
Show: