共用方式為


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

相關聯的命令自變數。

適用於