Freigeben über


VCWizCtlClass.GetCommandName(Object, Object) Method

Definition

Gets the name of a command as a string.

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

Implements

Attributes

Examples

See GetClassCommandHandlerDesc.

Applies to