다음을 통해 공유


ITextView.Selection Property

Gets the selection element.

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

Syntax

‘선언
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

See Also

Reference

ITextView Interface

Microsoft.VisualStudio.Text.Editor Namespace