共用方式為


VCFileCodeModel.Parent Property

Definition

Gets the immediate parent object of a given object.

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

Property Value

A ProjectItem object.

Implements

Attributes

Remarks

The Parent property returns the immediate parent to the object or collection.

Applies to