Share via


ITextSelection.Mode Property

Gets or sets the selection mode.

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

Syntax

'Declaration
Property Mode As TextSelectionMode
TextSelectionMode Mode { get; set; }
property TextSelectionMode Mode {
    TextSelectionMode get ();
    void set (TextSelectionMode value);
}
abstract Mode : TextSelectionMode with get, set
function get Mode () : TextSelectionMode
function set Mode (value : TextSelectionMode)

Property Value

Type: Microsoft.VisualStudio.Text.Editor.TextSelectionMode
The TextSelectionMode.

.NET Framework Security

See Also

Reference

ITextSelection Interface

Microsoft.VisualStudio.Text.Editor Namespace