共用方式為


VCWizCtlClass.GetCommandHandlerString(Object, Object) Method

Definition

Gets a command handler as a string.

public:
 virtual System::String ^ GetCommandHandlerString(System::Object ^ pDispDesc, System::Object ^ memid) = Microsoft::VisualStudio::VsWizard::IVCWizCtlUI::GetCommandHandlerString;
public:
 virtual Platform::String ^ GetCommandHandlerString(Platform::Object ^ pDispDesc, Platform::Object ^ memid) = Microsoft::VisualStudio::VsWizard::IVCWizCtlUI::GetCommandHandlerString;
 virtual std::wstring GetCommandHandlerString(winrt::Windows::Foundation::IInspectable const & pDispDesc, winrt::Windows::Foundation::IInspectable const & memid);
[System.Runtime.InteropServices.DispId(1610743888)]
public virtual string GetCommandHandlerString (object pDispDesc, object memid);
[<System.Runtime.InteropServices.DispId(1610743888)>]
abstract member GetCommandHandlerString : obj * obj -> string
override this.GetCommandHandlerString : obj * obj -> string
Public Overridable Function GetCommandHandlerString (pDispDesc As Object, memid As Object) As String

Parameters

pDispDesc
Object

Required. The event command description object returned by GetClassCommandHandlerDesc(Object, String, String).

memid
Object

Required. The index to the command description table represented by pDispDesc.

Returns

A string containing the command handler.

Implements

Attributes

Examples

See CommandHandlerExists.

Applies to