共用方式為


ForegroundEnergyManager.RecentEnergyUsageLevel 屬性

定義

取得目前 30 分鐘期間前景應用程式最接近的預先定義能源等級,等於 LowUsageLevelNearMaxAcceptableUsageLevelMaxAcceptableUsageLevelExcessiveUsageLevel

public:
 static property unsigned int RecentEnergyUsageLevel { unsigned int get(); };
static uint32_t RecentEnergyUsageLevel();
/// [get: Windows.Foundation.Metadata.Deprecated("Foreground Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")]
static uint32_t RecentEnergyUsageLevel();
public static uint RecentEnergyUsageLevel { get; }
public static uint RecentEnergyUsageLevel { [Windows.Foundation.Metadata.Deprecated("Foreground Energy Manager has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 393216, "Windows.Foundation.UniversalApiContract")] get; }
var uInt32 = ForegroundEnergyManager.recentEnergyUsageLevel;
Public Shared ReadOnly Property RecentEnergyUsageLevel As UInteger

屬性值

UInt32

unsigned int

uint32_t

目前 30 分鐘期間前景應用程式最接近的預先定義能源等級。

屬性

適用於