TextSelection.Parent Property
Gets the immediate parent object of a TextSelection object.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
ReadOnly Property Parent As TextDocument
TextDocument Parent { get; }
property TextDocument^ Parent {
TextDocument^ get ();
}
abstract Parent : TextDocument with get
function get Parent () : TextDocument
Property Value
Type: EnvDTE.TextDocument
A TextDocument 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