共用方式為


ITextSelection.IsReversed Property

Determines whether the active point is Span.Start and the anchor point is Span.End.

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

Syntax

'宣告
ReadOnly Property IsReversed As Boolean
bool IsReversed { get; }
property bool IsReversed {
    bool get ();
}
abstract IsReversed : bool
function get IsReversed () : boolean

Property Value

Type: System.Boolean
true if the selection is reversed, otherwise false.

Remarks

In a reversed selection, the active point is Span.Start and the anchor point is Span.End. In a non-reversed selection, the active point is span.end and the anchor point is Span.Start.

.NET Framework Security

See Also

Reference

ITextSelection Interface

Microsoft.VisualStudio.Text.Editor Namespace