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

属性值

适用于