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)
Syntax
'Declaration
ReadOnly Property AnchorPoint As VirtualSnapshotPoint
VirtualSnapshotPoint AnchorPoint { get; }
property VirtualSnapshotPoint AnchorPoint {
VirtualSnapshotPoint get ();
}
abstract AnchorPoint : VirtualSnapshotPoint
function get AnchorPoint () : VirtualSnapshotPoint
Property Value
Type: Microsoft.VisualStudio.Text.VirtualSnapshotPoint
The anchor point.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.