Gets the value of a integer property on an item in a Named List.
Visual Basic |
---|
Public Function GetListItemInt( _ ByVal list As String, _ ByVal n As Long, _ ByVal propertyName As String _ ) As Long |
The integer value of the given property, for the given item in the given Named List.
Available: GEO MM ME MD OD OM SISpy
Group:
itemID = sis.ListItemInt ("Zones", 6, "_id&")
Retrieves the item ID of item 6 in the Zones named list.
Named list indices run from zero to one less than the size of list, so this example accesses the seventh item in the list.
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).