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

关联的命令参数。

适用于