Share via


VCWizCtlClass.ParentKind Property

Gets the kind of context object.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property ParentKind As Object
'Usage
Dim instance As VCWizCtlClass 
Dim value As Object 

value = instance.ParentKind
public virtual Object ParentKind { get; }
public:
virtual property Object^ ParentKind {
    Object^ get ();
}
public function get ParentKind () : Object

Property Value

Type: System.Object
A vsCMElement enumeration.

Implements

IVCWizCtlUI.ParentKind

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.

.NET Framework Security

See Also

Reference

VCWizCtlClass Class

VCWizCtlClass Members

Microsoft.VisualStudio.VsWizard Namespace

Other Resources

Designing a Wizard

Visual C++ Extensibility Object Model