共用方式為


PropertyMapper<TVirtualView,TViewHandler>.Add Method

Definition

public:
 virtual void Add(System::String ^ key, Action<TViewHandler, TVirtualView> ^ action);
public void Add (string key, Action<TViewHandler,TVirtualView> action);
abstract member Add : string * Action<'ViewHandler, 'VirtualView (requires 'ViewHandler :> Microsoft.Maui.IElementHandler and 'VirtualView :> Microsoft.Maui.IElement)> -> unit
override this.Add : string * Action<'ViewHandler, 'VirtualView (requires 'ViewHandler :> Microsoft.Maui.IElementHandler and 'VirtualView :> Microsoft.Maui.IElement)> -> unit
Public Sub Add (key As String, action As Action(Of TViewHandler, TVirtualView))

Parameters

key
String
action
Action<TViewHandler,TVirtualView>

Implements

Applies to