共用方式為


VCWizCtlClass.ParentKind Property

Definition

Gets the kind of context object.

public:
 virtual property System::Object ^ ParentKind { System::Object ^ get(); };
public:
 virtual property Platform::Object ^ ParentKind { Platform::Object ^ get(); };
[System.Runtime.InteropServices.DispId(1610743861)]
public virtual object ParentKind { [System.Runtime.InteropServices.DispId(1610743861)] get; }
[<System.Runtime.InteropServices.DispId(1610743861)>]
[<get: System.Runtime.InteropServices.DispId(1610743861)>]
member this.ParentKind : obj
Public Overridable ReadOnly Property ParentKind As Object

Property Value

A vsCMElement enumeration.

Implements

Attributes

Remarks

ParentKind returns the kind of context object as a Visual Studio code element.

The context object is the item (either project or class) at the node in Class View that the user selects and which then initiates the wizard. For example, in Visual C++, the project is the context object for the Add Class wizard, and the selected class is the context object for the Add Function wizard.

Applies to