Share via


ITextSelection.AnchorPoint Property

Definition

Gets the anchor point of the selection.

public:
 property Microsoft::VisualStudio::Text::VirtualSnapshotPoint AnchorPoint { Microsoft::VisualStudio::Text::VirtualSnapshotPoint get(); };
public Microsoft.VisualStudio.Text.VirtualSnapshotPoint AnchorPoint { get; }
member this.AnchorPoint : Microsoft.VisualStudio.Text.VirtualSnapshotPoint
Public ReadOnly Property AnchorPoint As VirtualSnapshotPoint

Property Value

The anchor point.

Remarks

This normally corresponds to the end of the selection that does not contain to the caret position.

If the selection is reversed, then this point will come after the ActivePoint.

Applies to