[]
        
(Showing Draft Content)

C1.Win.RulesManager.CustomItemRange.-ctor

CustomItemRange Constructor

CustomItemRange()

Initializes a new instance of the CustomItemRange.

Declaration
public CustomItemRange()

CustomItemRange(CustomItemRange)

Initializes a new instance of the CustomItemRange.

Declaration
public CustomItemRange(CustomItemRange prototype)
Parameters
Type Name Description
CustomItemRange prototype

CustomItemRange(int, int, IEnumerable<string>)

Initializes a new instance of the CustomItemRange.

Declaration
public CustomItemRange(int first, int last, IEnumerable<string> fields)
Parameters
Type Name Description
int first

Fist item index.

int last

Last item index.

IEnumerable<string> fields

Fields name collection.

CustomItemRange(int, int, params string[])

Initializes a new instance of the CustomItemRange.

Declaration
public CustomItemRange(int first, int last, params string[] fields)
Parameters
Type Name Description
int first

Fist item index.

int last

Last item index.

string[] fields

Array of the fields name.

CustomItemRange(string)

Initializes a new instance of the CustomItemRange.

Declaration
public CustomItemRange(string range)
Parameters
Type Name Description
string range

Range as a string.

Remarks

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.

Examples

CustomItemRange range = new CustomItemRange("1:100:[Field1],[Field2],[Field3]");