ViewHandler.MapAutomationId(IViewHandler, IView) 方法

定义

将抽象 AutomationId 属性映射到特定于平台的实现。

public:
 static void MapAutomationId(Microsoft::Maui::IViewHandler ^ handler, Microsoft::Maui::IView ^ view);
public static void MapAutomationId (Microsoft.Maui.IViewHandler handler, Microsoft.Maui.IView view);
static member MapAutomationId : Microsoft.Maui.IViewHandler * Microsoft.Maui.IView -> unit
Public Shared Sub MapAutomationId (handler As IViewHandler, view As IView)

参数

handler
IViewHandler

关联的处理程序。

view
IView

关联的 IView 实例。

适用于