VCCodeParameter.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 CodeElement
'Usage
Dim instance As VCCodeParameter
Dim value As CodeElement
value = instance.Parent
CodeElement Parent { get; }
property CodeElement^ Parent {
CodeElement^ get ();
}
function get Parent () : CodeElement
Property Value
Type: EnvDTE.CodeElement
The immediate parent object of a given object.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.VCCodeModel Namespace
Other Resources
How to: Compile and Run the Automation Object Model Code Examples