Partager via


VCCodeProperty.Parent Property

Definition

Gets the immediate parent object of a given object.

public:
 property EnvDTE::CodeClass ^ Parent { EnvDTE::CodeClass ^ get(); };
public:
 property EnvDTE::CodeClass ^ Parent { EnvDTE::CodeClass ^ get(); };
[System.Runtime.InteropServices.DispId(31)]
public EnvDTE.CodeClass Parent { [System.Runtime.InteropServices.DispId(31)] [System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)] get; }
[<System.Runtime.InteropServices.DispId(31)>]
[<get: System.Runtime.InteropServices.DispId(31)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)>]
member this.Parent : EnvDTE.CodeClass
Public ReadOnly Property Parent As CodeClass

Property Value

A CodeClass property.

Attributes

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.

Applies to