共用方式為


Application.Current Property

Definition

Gets the current application.

public:
 static property Microsoft::Maui::Controls::Application ^ Current { Microsoft::Maui::Controls::Application ^ get(); void set(Microsoft::Maui::Controls::Application ^ value); };
public static Microsoft.Maui.Controls.Application? Current { get; set; }
static member Current : Microsoft.Maui.Controls.Application with get, set
Public Shared Property Current As Application

Property Value

Applies to