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
'Declaration
ReadOnly Property IsReversed As Boolean
bool IsReversed { get; }
property bool IsReversed {
bool get ();
}
abstract IsReversed : bool with get
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
- 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.