共用方式為


Application.CloseWindow(Window) Method

Definition

public:
 virtual void CloseWindow(Microsoft::Maui::Controls::Window ^ window);
public virtual void CloseWindow (Microsoft.Maui.Controls.Window window);
abstract member CloseWindow : Microsoft.Maui.Controls.Window -> unit
override this.CloseWindow : Microsoft.Maui.Controls.Window -> unit
Public Overridable Sub CloseWindow (window As Window)

Parameters

window
Window

Applies to