共用方式為


PhotoImportSource.BatteryLevelPercent 屬性

定義

來源裝置的電池計量。

public:
 property IReference<unsigned int> ^ BatteryLevelPercent { IReference<unsigned int> ^ get(); };
IReference<uint32_t> BatteryLevelPercent();
public System.Nullable<uint> BatteryLevelPercent { get; }
var iReference = photoImportSource.batteryLevelPercent;
Public ReadOnly Property BatteryLevelPercent As Nullable(Of UInteger)

屬性值

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference<unsigned int>

IReference<uint32_t>

從 0 到 100 的值,表示裝置電池的電源等級,0 為無,且完全充電 100。

適用於