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
    Get
Project Parent { get; }
property Project^ Parent {
    Project^ get ();
}
abstract Parent : Project
function get Parent () : Project

Property Value

Type: EnvDTE.Project
A Project object.

Implements

CodeModel2.Parent

Remarks

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

.NET Framework Security

See Also

Reference

VCCodeModel Interface

Parent Overload

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

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