Share via


TextDocument.Parent Property

Gets the immediate parent object of a TextDocument object.

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

Syntax

'Declaration
ReadOnly Property Parent As Document
Document Parent { get; }
property Document^ Parent {
    Document^ get ();
}
abstract Parent : Document with get
function get Parent () : Document

Property Value

Type: EnvDTE.Document
A Document object.

.NET Framework Security

See Also

Reference

TextDocument Interface

EnvDTE Namespace

Other Resources

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