다음을 통해 공유


IVCWizCtlUI.GetCommandName(Object, Object) Method

Definition

Gets the name of a command as a string.

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

Attributes

Applies to