共用方式為


ITextSelection.Start Property

Gets the start point of the selection.

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

Syntax

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

Property Value

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

Remarks

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

.NET Framework Security

See Also

Reference

ITextSelection Interface

Microsoft.VisualStudio.Text.Editor Namespace