TextPane.Selection Property

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

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
ReadOnly Property Selection As TextSelection
'Usage
Dim instance As TextPane 
Dim value As TextSelection 

value = instance.Selection
TextSelection Selection { get; }
property TextSelection^ Selection {
    TextSelection^ get ();
}
function get Selection () : TextSelection

Property Value

Type: EnvDTE.TextSelection
A TextSelection object.

.NET Framework Security

See Also

Reference

TextPane Interface

TextPane Members

EnvDTE Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples