共用方式為


SystemCommands.CloseWindow(Window) 方法

定義

關閉指定的視窗。

public:
 static void CloseWindow(System::Windows::Window ^ window);
public static void CloseWindow (System.Windows.Window window);
static member CloseWindow : System.Windows.Window -> unit
Public Shared Sub CloseWindow (window As Window)

參數

window
Window

要關閉的視窗。

適用於