Compartir a través de


VCWizCtlClass.ParentKind Property

Gets the kind of context object.

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

Syntax

'Declaración
Public Overridable ReadOnly Property ParentKind As Object
    Get
public virtual Object ParentKind { get; }
public:
virtual property Object^ ParentKind {
    Object^ get ();
}
abstract ParentKind : Object
override ParentKind : Object
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

Microsoft.VisualStudio.VsWizard Namespace

Other Resources

Designing a Wizard

Visual C++ Extensibility Object Model