Compartilhar via


TextRanges.Parent Property

Gets the immediate parent object of a TextRanges collection.

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

See Also

Reference

TextRanges Interface

EnvDTE Namespace

Other Resources

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