VCWizCtlClass.GetClassCommandHandlerDesc - метод
Gets the command handler object for the specified class and command name.
Пространство имен: Microsoft.VisualStudio.VsWizard
Сборка: Microsoft.VisualStudio.VsWizard (в Microsoft.VisualStudio.VsWizard.dll)
Синтаксис
'Декларация
Public Overridable Function GetClassCommandHandlerDesc ( _
pDispClass As Object, _
bstrCommandName As String, _
bstrControlType As String _
) As Object
'Применение
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
Параметры
pDispClass
Тип: System.ObjectRequired. A pointer to the dispinterface of the class.
bstrCommandName
Тип: System.StringRequired. A string containing the command name.
bstrControlType
Тип: System.StringOptional. The type of control associated with the command, specified in the symbol table and the wizard HTML as "CONTROL_TYPE."
Возвращаемое значение
Тип: System.Object
The command handler description object.
Реализации
IVCWizCtlUI.GetClassCommandHandlerDesc(Object, String, String)
Заметки
Call the GetClassCommandHandlerDesc method before you call the following methods, which take, as a first parameter, the returned command handler description object:
Разрешения
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Using Libraries from Partially Trusted Code.
См. также
Основные понятия
Visual C++ Extensibility Object Model