共用方式為


Application.CreateWindow(IActivationState) Method

Definition

protected:
 virtual Microsoft::Maui::Controls::Window ^ CreateWindow(Microsoft::Maui::IActivationState ^ activationState);
protected virtual Microsoft.Maui.Controls.Window CreateWindow (Microsoft.Maui.IActivationState? activationState);
abstract member CreateWindow : Microsoft.Maui.IActivationState -> Microsoft.Maui.Controls.Window
override this.CreateWindow : Microsoft.Maui.IActivationState -> Microsoft.Maui.Controls.Window
Protected Overridable Function CreateWindow (activationState As IActivationState) As Window

Parameters

activationState
IActivationState

Returns

Applies to