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
'Usage
Dim instance As VCWizCtlClass 
Dim pDispClass As Object 
Dim bstrCommandName As String 
Dim bstrControlType As String 
Dim returnValue As Object 

returnValue = instance.GetClassCommandHandlerDesc(pDispClass, _
    bstrCommandName, bstrControlType)
public virtual Object GetClassCommandHandlerDesc(
    Object pDispClass,
    string bstrCommandName,
    string bstrControlType
)
public:
virtual Object^ GetClassCommandHandlerDesc(
    [InAttribute] Object^ pDispClass, 
    [InAttribute] String^ bstrCommandName, 
    [InAttribute] String^ bstrControlType
)
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

VCWizCtlClass Members

Microsoft.VisualStudio.VsWizard Namespace

Other Resources

Designing a Wizard

Visual C++ Extensibility Object Model