VCCodeAttribute::Children Property
Visual Studio 2015
Gets a collection of child code elements of the specified attribute.
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Property Value
Type: EnvDTE::CodeElements^A CodeElements collection, each representing a code element.
If the attribute has no children, then Nothing or null is returned.
Children returns every object returnable from the code attribute.
To iterate through the members of a namespace or type (class, struct, interface, and so forth), you must query interface (QI) or cast the CodeElement to a VCCodeNamespace and then use the Members property.
Children returns the collection of all related VCCodeElement objects that can be referenced via this attribute.
The Children property returns null if the attribute has no children.
Show: