Table of Contents

Class Batteries

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents the batteries found within a portable computer system.

public class Batteries : BypassSection
Inheritance
Batteries
Inherited Members

Constructors

Batteries()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.Batteries class.

public Batteries()

Properties

Items

Gets or sets the items in the collection.

public BatteryCollection Items { get; set; }

Property Value

BatteryCollection

Methods

FindByID(string)

Returns the battery with the specified device ID, or null if no battery with the specified ID is found.

public Battery FindByID(string deviceId)

Parameters

deviceId string

The unique device ID of the battery to locate.

Returns

Battery

The battery with the specified device ID, or null if no battery with the specified ID is found.

ToString()

Returns the batteries as a human readable string - for example "10 Batteries" or "{Not Documented}".

public override string ToString()

Returns

string

The batteries as a human readable string.