LegacyTelogisServiceListUnitTags Method |
Namespace: Telogis.API
// get *all* the units (use ListUnits() if you have // a large number of units) Unit[] units = myService.FindUnits(null, null); foreach (Unit u in units) { Console.WriteLine("UNIT[{0}]", u.Name); // list all the tags for our current unit Tag[] tags = myService.ListUnitTags(u.ID); foreach (Tag t in tags) { Console.WriteLine(" TAG[{0}]", t.Name); } Console.WriteLine(); }