VCCodeProperty.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 CodeClass
用法
Dim instance As VCCodeProperty
Dim value As CodeClass

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

Property Value

Type: CodeClass

A CodeClass property.

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

See Also

Concepts

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

Reference

VCCodeProperty Interface

VCCodeProperty Members

Microsoft.VisualStudio.VCCodeModel Namespace