LegacyTelogisServiceListDrivers Method |
Print this page
Gets an array of Driver objects.
Namespace: Telogis.API Syntax public Driver[] ListDrivers(
int offset,
int count
)
Public Function ListDrivers (
offset As Integer,
count As Integer
) As Driver()
Parameters
- offset
- Type: SystemInt32
Starting offset
- count
- Type: SystemInt32
Maximum number of results to return
Return Value
Type:
Driver
An array of
Driver
objects. If less than count drivers exist
the array will be truncated to the total number of drivers.
Examples Driver[] drivers = service.ListDrivers(0, 10);
foreach (Driver d in drivers) {
Console.WriteLine("ID[{0}] NAME[{1}]", d.ID, d.Name);
}
See Also