[]
Initializes a new instance of the CustomItemRange.
public CustomItemRange()
Initializes a new instance of the CustomItemRange.
public CustomItemRange(CustomItemRange prototype)
Type | Name | Description |
---|---|---|
CustomItemRange | prototype |
Initializes a new instance of the CustomItemRange.
public CustomItemRange(int first, int last, IEnumerable<string> fields)
Type | Name | Description |
---|---|---|
int | first | Fist item index. |
int | last | Last item index. |
IEnumerable<string> | fields | Fields name collection. |
Initializes a new instance of the CustomItemRange.
public CustomItemRange(int first, int last, params string[] fields)
Type | Name | Description |
---|---|---|
int | first | Fist item index. |
int | last | Last item index. |
string[] | fields | Array of the fields name. |
Initializes a new instance of the CustomItemRange.
public CustomItemRange(string range)
Type | Name | Description |
---|---|---|
string | range | Range as a string. |
The string format should be: "{0}:{1}:[{1}],[{2}]...", where {0} is the FirstItem, {1} is the LastItem, and {1},{2}... is the field names.
CustomItemRange range = new CustomItemRange("1:100:[Field1],[Field2],[Field3]");