This topic has not yet been rated - Rate this topic

VCCodeElement.Parent Property

Gets the immediate parent object of a given object.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Object Parent { get; }

Property Value

Type: Object
The parent 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.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.