Gets the value of a string property on an item in a Named List.
Visual Basic |
---|
Public Function GetListItemStr( _ ByVal list As String, _ ByVal n As Long, _ ByVal propertyName As String _ ) As String |
The string value of the given property, for the given item in the given Named List.
Available: GEO MM ME MD OD OM SISpy
Group:
Brush = sis.GetListItemStr ("Zones", 6, "_brush")
Retrieves the brush (fill style) 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).