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)
Syntax
'Declaration
ReadOnly Property ActivePoint As VirtualSnapshotPoint
VirtualSnapshotPoint ActivePoint { get; }
property VirtualSnapshotPoint ActivePoint {
VirtualSnapshotPoint get ();
}
abstract ActivePoint : VirtualSnapshotPoint
function get ActivePoint () : VirtualSnapshotPoint
Property Value
Type: Microsoft.VisualStudio.Text.VirtualSnapshotPoint
The active point.
Remarks
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.
.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.