Returns information about the current status of a given locomotive.

Namespace: XpressnetLib
Assembly: XpressnetLib (in XpressnetLib.dll) Version: 0.1.4195.39796

Syntax

C#
public LocoInfo LocoInformation(
	int locoAddr
)
Visual Basic
Public Function LocoInformation ( _
	locoAddr As Integer _
) As LocoInfo
Visual C++
public:
LocoInfo^ LocoInformation(
	int locoAddr
)

Parameters

locoAddr
Type: System..::..Int32
Locomotive address

Return Value

Returns LocoInfo instance containing the data or null if the operation fails.

See Also