packages/Windows API Code Pack 1.1/source/WindowsAPICodePack/Core/PowerManagement/BatteryState.cs
/// <summary>
/// Generates a string that represents this <b>BatteryState</b> object.
/// </summary>
/// <returns>A <see cref="System.String"/> representation of this object's current state.</returns>        
Generates a string that represents this BatteryState
Generates a string that represents this BatteryState
public override string ToString()
        {
            return string.Format(System.Globalization.CultureInfo.InvariantCulture,
                LocalizedMessages.BatteryStateStringRepresentation,
                Environment.NewLine,
                ACOnline,
                MaxCharge,
                CurrentCharge,
                ChargeRate,
                EstimatedTimeRemaining,
                SuggestedCriticalBatteryCharge,
                SuggestedBatteryWarningCharge
                );
        }
public override string ToString ( ) { return string . Format ( System . Globalization . CultureInfo . InvariantCulture , LocalizedMessages . BatteryStateStringRepresentation , Environment . NewLine , ACOnline , MaxCharge , CurrentCharge , ChargeRate , EstimatedTimeRemaining , SuggestedCriticalBatteryCharge , SuggestedBatteryWarningCharge ) ; }
Generates a string that represents this BatteryState
Generates a string that represents this BatteryState
A
representation of this object's current state.
A representation of this object ' s current state .