[]
        
(Showing Draft Content)

C1.Win.RulesManager.ItemRange.-ctor

ItemRange Constructor

ItemRange()

Initializes a new instance of the ItemRange.

Declaration
public ItemRange()
Public Sub New()

ItemRange(ItemRange)

Initializes a new instance of the ItemRange.

Declaration
public ItemRange(ItemRange prototype)
Public Sub New(prototype As ItemRange)
Parameters
Type Name Description
ItemRange prototype

Prototype

ItemRange(int, int)

Initializes a new instance of the ItemRange.

Declaration
public ItemRange(int first, int last)
Public Sub New(first As Integer, last As Integer)
Parameters
Type Name Description
int first

Fist item index.

int last

Last item index.

ItemRange(string)

Initializes a new instance of the ItemRange.

Declaration
public ItemRange(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}", where {0} is the FirstItem and {1} is the LastItem.

Examples

ItemRange range = new ItemRange("1:100");