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
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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Concepts
Visual C++ Extensibility Object Model