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: System.Object

    Required. A pointer to the dispinterface of the class.

  • bstrCommandName
    Type: System.String

    Required. A string containing the command name.

  • bstrControlType
    Type: System.String

    Optional. The type of control associated with the command, specified in the symbol table and the wizard HTML as "CONTROL_TYPE."

Return Value

Type: System.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

See Also

Reference

VCWizCtlClass Class

Microsoft.VisualStudio.VsWizard Namespace

Other Resources

Designing a Wizard

Visual C++ Extensibility Object Model