共用方式為


ApplicationHandler.MapCloseWindow 方法

定義

將抽象 CloseWindow(IWindow) 命令對應至平臺特定的實作。

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

參數

handler
ApplicationHandler

相關的處理常式。

application
IApplication

相關聯的 IApplication 實例。

args
Object

相關聯的命令自變數。

適用於