VCWizCtlClass.ParentKind Property
Gets the kind of context object.
Namespace: Microsoft.VisualStudio.VsWizard
Assembly: Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
'宣告
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
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
- 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
Reference
Microsoft.VisualStudio.VsWizard Namespace