[]
Tries to parse text into the IItemRange object or list of objects and fill out the collection.
public bool SetRange(string text)
Type | Name | Description |
---|---|---|
string | text | text to parse |
Type | Description |
---|---|
bool | True of success. |
The separator for the ranges is ';'.
collection.SetRange("1:7;[Field1];5:6:[Field2]"); Fills collection with 3 ranges: ItemRange with FirstItem = 1 and LastItem = 7, FieldRange with 1 field: Field1, CustomItemRange with FirstItem = 5, LastItem = 6 and 1 field: Field2.