Поделиться через


VCCodeElements.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

'Декларация
ReadOnly Property Parent As Object
    Get
Object Parent { get; }
property Object^ Parent {
    Object^ get ();
}
abstract Parent : Object
function get Parent () : Object

Property Value

Type: System.Object
The parent object.

Implements

CodeElements.Parent

Remarks

The Parent property returns the immediate parent to the object or collection.

.NET Framework Security

See Also

Reference

VCCodeElements Interface

Parent Overload

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

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