ITextSelection::AnchorPoint Property

 

Gets the anchor point of the selection.

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

property VirtualSnapshotPoint AnchorPoint {
	VirtualSnapshotPoint get();
}

Property Value

Type: Microsoft.VisualStudio.Text::VirtualSnapshotPoint

The anchor point.

The anchor point normally corresponds to the end of the selection that does not contain the caret position .If the selection is reversed, then this point comes after the active point.

Return to top
Show: