IPropertyMapper<TVirtualView,TViewHandler>.Add 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
void Add(System::String ^ key, Action<TViewHandler, TVirtualView> ^ action);
public void Add (string key, Action<out TViewHandler,out TVirtualView> action);
abstract member 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 Out TViewHandler, Out TVirtualView))
参数
- key
- String
- action
- Action<TViewHandler,TVirtualView>