Share via


VCCodeModel.Parent Property

Gets the immediate parent object of a given object.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

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

Property Value

Type: EnvDTE.Project
A Project object.

Remarks

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

.NET Framework Security

See Also

Reference

VCCodeModel Interface

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

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