ApplicationHandler.MapActivateWindow 方法

定义

将抽象 ActivateWindow(IWindow) 命令映射到特定于平台的实现。

public:
 static void MapActivateWindow(Microsoft::Maui::Handlers::ApplicationHandler ^ handler, Microsoft::Maui::IApplication ^ application, System::Object ^ args);
public static void MapActivateWindow (Microsoft.Maui.Handlers.ApplicationHandler handler, Microsoft.Maui.IApplication application, object? args);
static member MapActivateWindow : Microsoft.Maui.Handlers.ApplicationHandler * Microsoft.Maui.IApplication * obj -> unit
Public Shared Sub MapActivateWindow (handler As ApplicationHandler, application As IApplication, args As Object)

参数

handler
ApplicationHandler

关联的处理程序。

application
IApplication

关联的 IApplication 实例。

args
Object

关联的命令参数。

适用于