次の方法で共有


BatteryInfoChangedEventArgs クラス

定義

の現在の読み取 IBatteryりを含むイベント引数。

public ref class BatteryInfoChangedEventArgs : EventArgs
public class BatteryInfoChangedEventArgs : EventArgs
type BatteryInfoChangedEventArgs = class
    inherit EventArgs
Public Class BatteryInfoChangedEventArgs
Inherits EventArgs
継承
BatteryInfoChangedEventArgs

注釈

バッテリーの現在の情報を返します。

コンストラクター

BatteryInfoChangedEventArgs(Double, BatteryState, BatteryPowerSource)

BatteryInfoChangedEventArgs クラスの新しいインスタンスを初期化します。

プロパティ

ChargeLevel

デバイスの現在の充電レベルを 0.0 から 1.0 まで取得します。

PowerSource

デバイスの現在の電源を取得します。

State

デバイスの充電状態を取得します。

メソッド

ToString()

BatteryInfoChangedEventArgs のこのインスタンスの文字列表現を返します。

適用対象