Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the selection element.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
ReadOnly Property Selection As ITextSelection
ITextSelection Selection { get; }
property ITextSelection^ Selection {
ITextSelection^ get ();
}
abstract Selection : ITextSelection
function get Selection () : ITextSelection
Property Value
Type: Microsoft.VisualStudio.Text.Editor.ITextSelection
The selection.
.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.