共用方式為


CommandMapper.GetCommand(String) Method

Definition

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

Parameters

key
String

Returns

Implements

Applies to