Share via


TextPane.Selection Property

Definition

Gets an object representing the current selection on the TextPane object.

public:
 property EnvDTE::TextSelection ^ Selection { EnvDTE::TextSelection ^ get(); };
public:
 property EnvDTE::TextSelection ^ Selection { EnvDTE::TextSelection ^ get(); };
[System.Runtime.InteropServices.DispId(8)]
public EnvDTE.TextSelection Selection { [System.Runtime.InteropServices.DispId(8)] get; }
[<System.Runtime.InteropServices.DispId(8)>]
[<get: System.Runtime.InteropServices.DispId(8)>]
member this.Selection : EnvDTE.TextSelection
Public ReadOnly Property Selection As TextSelection

Property Value

A TextSelection object.

Attributes

Applies to