Gets the immediate parent object of a given object.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
声明
ReadOnly Property Parent As VCCodeIDLLibrary
用法
Dim instance As VCCodeIDLImportLib
Dim value As VCCodeIDLLibrary
value = instance.Parent
VCCodeIDLLibrary Parent { get; }
property VCCodeIDLLibrary^ Parent {
VCCodeIDLLibrary^ get ();
}
function get Parent () : VCCodeIDLLibrary
Property Value
Type: Microsoft.VisualStudio.VCCodeModel.VCCodeIDLLibrary
A VCCodeIDLLibrary 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.
Permissions
- 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
Concepts
How to: Compile and Run the Automation Object Model Code Examples