[]
        
(Showing Draft Content)

C1.Win.RulesManager.CustomItemRange.-ctor

CustomItemRange Constructor

CustomItemRange()

Initializes a new instance of the CustomItemRange.

Declaration
public CustomItemRange()
Public Sub New()

CustomItemRange(CustomItemRange)

Initializes a new instance of the CustomItemRange.

Declaration
public CustomItemRange(CustomItemRange prototype)
Public Sub New(prototype As CustomItemRange)
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)
Public Sub New(first As Integer, last As Integer, fields As IEnumerable(Of String))
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)
Public Sub New(first As Integer, last As Integer, ParamArray fields As String())
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)
Public Sub New(range As String)
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]");