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
'Usage
Dim instance As VCCodeModel 
Dim value As Project 

value = instance.Parent
Project Parent { get; }
property Project^ Parent {
    Project^ get ();
}
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

VCCodeModel Members

Parent Overload

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

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