SetRange Method (IItemRangeCollection)
In This Topic
Tries to parse text into the IItemRange object or list of objects and fill out the collection.
Syntax
Parameters
- text
- text to parse
Return Value
True of success.
Example
collection.SetRange("1:7;[Field1];5:6:[Field2]"); Fills collection with 3 ranges:
C1.Win.RulesManager.ItemRange with FirstItem = 1 and LastItem = 7,
C1.Win.RulesManager.FieldRange with 1 field: Field1,
C1.Win.RulesManager.CustomItemRange with FirstItem = 5, LastItem = 6 and 1 field: Field2.
See Also