共用方式為


ITextSelection.End Property

Gets the end point of the selection.

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

Syntax

'宣告
ReadOnly Property End As VirtualSnapshotPoint
VirtualSnapshotPoint End { get; }
property VirtualSnapshotPoint End {
    VirtualSnapshotPoint get ();
}
abstract End : VirtualSnapshotPoint
function get End () : VirtualSnapshotPoint

Property Value

Type: Microsoft.VisualStudio.Text.VirtualSnapshotPoint
The end point.

Remarks

This is either the active point or the anchor point, whichever comes last.

.NET Framework Security

See Also

Reference

ITextSelection Interface

Microsoft.VisualStudio.Text.Editor Namespace