VCWizCtlClass.GetClassCommandHandlerDesc(Object, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the command handler object for the specified class and command name.
virtual winrt::Windows::Foundation::IInspectable GetClassCommandHandlerDesc(winrt::Windows::Foundation::IInspectable const & pDispClass, std::wstring const & bstrCommandName, std::wstring const & bstrControlType = "");
[System.Runtime.InteropServices.DispId(1610743884)]
public virtual object GetClassCommandHandlerDesc (object pDispClass, string bstrCommandName, string bstrControlType = "");
[<System.Runtime.InteropServices.DispId(1610743884)>]
abstract member GetClassCommandHandlerDesc : obj * string * string -> obj
override this.GetClassCommandHandlerDesc : obj * string * string -> obj
Public Overridable Function GetClassCommandHandlerDesc (pDispClass As Object, bstrCommandName As String, Optional bstrControlType As String = "") As Object
Parameters
- pDispClass
- Object
Required. A pointer to the dispinterface of the class.
- bstrCommandName
- String
Required. A string containing the command name.
- bstrControlType
- String
Optional. The type of control associated with the command, specified in the symbol table and the wizard HTML as "CONTROL_TYPE."
Returns
The command handler description object.
Implements
- Attributes
Remarks
Call the GetClassCommandHandlerDesc method before you call the following methods, which take, as a first parameter, the returned command handler description object: