Share via


VCCodeIDLCoClass.Parent Property

Gets the immediate parent object of a VCCodeIDLCoClass object.

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

Syntax

'Declaration
ReadOnly Property Parent As Object
'Usage
Dim instance As VCCodeIDLCoClass 
Dim value As Object 

value = instance.Parent
Object Parent { get; }
property Object^ Parent {
    Object^ get ();
}
function get Parent () : Object

Property Value

Type: System.Object
The immediate parent object of a VCCodeIDLCoClass 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

See Also

Reference

VCCodeIDLCoClass Interface

VCCodeIDLCoClass Members

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

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