Share via


FileCodeModel2.Parent Property

Gets the immediate parent object of a FileCodeModel object.

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

Syntax

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

Property Value

Type: EnvDTE.ProjectItem
A ProjectItem object.

Implements

FileCodeModel.Parent

Remarks

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

.NET Framework Security

See Also

Reference

FileCodeModel2 Interface

EnvDTE80 Namespace

Other Resources

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