ApplicationHandler.MapOpenWindow 方法

定义

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

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

参数

handler
ApplicationHandler

关联的处理程序。

application
IApplication

关联的 IApplication 实例。

args
Object

关联的命令参数。

适用于