TextWindow.Selection Property
Gets an object representing the current selection on the TextWindow object.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
ReadOnly Property Selection As TextSelection
TextSelection Selection { get; }
property TextSelection^ Selection {
TextSelection^ get ();
}
abstract Selection : TextSelection with get
function get Selection () : TextSelection
Property Value
Type: EnvDTE.TextSelection
A TextSelection object.
.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.
See Also
Reference
Other Resources
How to: Compile and Run the Automation Object Model Code Examples