Click or drag to resize
LegacyTelogisServiceListConditions Method
Print this page
Get a selection of Condition objects.

Namespace: Telogis.API
 
Syntax
public Condition[] ListConditions(
	int offset,
	int count
)

Parameters

offset
Type: SystemInt32
Starting offset
count
Type: SystemInt32
Maximum number of conditions to return

Return Value

Type: Condition
An array containing a selection of Condition objects.
Examples
This example prints the tag and severity of up to 10 conditions to the console window.
C#
Condition[] conditions = service.ListConditions(0, 10);
foreach (Condition c in conditions){
    Console.WriteLine("TAG[{0}] SEVERITY[{1}]", c.Tag, c.Severity);
}
See Also