IWindowCreator.CreateWindow(Application, IActivationState) 方法

定义

public:
 Microsoft::Maui::Controls::Window ^ CreateWindow(Microsoft::Maui::Controls::Application ^ app, Microsoft::Maui::IActivationState ^ activationState);
public Microsoft.Maui.Controls.Window CreateWindow (Microsoft.Maui.Controls.Application app, Microsoft.Maui.IActivationState? activationState);
abstract member CreateWindow : Microsoft.Maui.Controls.Application * Microsoft.Maui.IActivationState -> Microsoft.Maui.Controls.Window
Public Function CreateWindow (app As Application, activationState As IActivationState) As Window

参数

activationState
IActivationState

返回

适用于