共用方式為


Battery.Default 屬性

定義

提供此 API 靜態使用的預設實作。

public:
 static property Microsoft::Maui::Devices::IBattery ^ Default { Microsoft::Maui::Devices::IBattery ^ get(); };
public static Microsoft.Maui.Devices.IBattery Default { get; }
static member Default : Microsoft.Maui.Devices.IBattery
Public Shared ReadOnly Property Default As IBattery

屬性值

適用於