共用方式為


TextDocument.Parent Property

Definition

Gets the immediate parent object of a TextDocument object.

public:
 property EnvDTE::Document ^ Parent { EnvDTE::Document ^ get(); };
public:
 property EnvDTE::Document ^ Parent { EnvDTE::Document ^ get(); };
[System.Runtime.InteropServices.DispId(151)]
public EnvDTE.Document Parent { [System.Runtime.InteropServices.DispId(151)] get; }
[<System.Runtime.InteropServices.DispId(151)>]
[<get: System.Runtime.InteropServices.DispId(151)>]
member this.Parent : EnvDTE.Document
Public ReadOnly Property Parent As Document

Property Value

A Document object.

Attributes

Applies to