ICommandMapper.GetCommand(String) 方法

定义

public:
 Action<Microsoft::Maui::IElementHandler ^, Microsoft::Maui::IElement ^, System::Object ^> ^ GetCommand(System::String ^ key);
public Action<Microsoft.Maui.IElementHandler,Microsoft.Maui.IElement,object?>? GetCommand (string key);
abstract member GetCommand : string -> Action<Microsoft.Maui.IElementHandler, Microsoft.Maui.IElement, obj>
Public Function GetCommand (key As String) As Action(Of IElementHandler, IElement, Object)

参数

key
String

返回

适用于