VCCodeBase.Parent Property

 

Gets the immediate parent object of a given object.

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

CodeType Parent { get; }

Property Value

Type: EnvDTE.CodeType

A CodeType object.

The Parent property returns the immediate parent to the object or collection. If you want to get the containing collection, then use the Collection property.

Return to top
Show: