VCWizCtlClass.GetClassCommandHandlerDesc Method
Gets the command handler object for the specified class and command name.
Namespace: Microsoft.VisualStudio.VsWizard
Assembly: Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
'Declaration
Public Overridable Function GetClassCommandHandlerDesc ( _
pDispClass As Object, _
bstrCommandName As String, _
bstrControlType As String _
) As Object
public virtual Object GetClassCommandHandlerDesc(
Object pDispClass,
string bstrCommandName,
string bstrControlType
)
public:
virtual Object^ GetClassCommandHandlerDesc(
[InAttribute] Object^ pDispClass,
[InAttribute] String^ bstrCommandName,
[InAttribute] String^ bstrControlType
)
abstract GetClassCommandHandlerDesc :
pDispClass:Object *
bstrCommandName:string *
bstrControlType:string -> Object
override GetClassCommandHandlerDesc :
pDispClass:Object *
bstrCommandName:string *
bstrControlType:string -> Object
public function GetClassCommandHandlerDesc(
pDispClass : Object,
bstrCommandName : String,
bstrControlType : String
) : Object
Parameters
pDispClass
Type: ObjectRequired. A pointer to the dispinterface of the class.
bstrCommandName
Type: StringRequired. A string containing the command name.
bstrControlType
Type: StringOptional. The type of control associated with the command, specified in the symbol table and the wizard HTML as "CONTROL_TYPE."
Return Value
Type: Object
The command handler description object.
Implements
IVCWizCtlUI.GetClassCommandHandlerDesc(Object, String, String)
Remarks
Call the GetClassCommandHandlerDesc method before you call the following methods, which take, as a first parameter, the returned command handler description object:
.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