ComponentOne RulesManager for WinForms
C1.Win.RulesManager Namespace / CustomItemRange Class / CustomItemRange Constructor / CustomItemRange Constructor(String)
Range as a string.

In This Topic
    CustomItemRange Constructor(String)
    In This Topic
    Initializes a new instance of the CustomItemRange.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal range As String _
    )
    public CustomItemRange( 
       string range
    )

    Parameters

    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.
    Example
    CustomItemRange range = new CustomItemRange("1:100:[Field1],[Field2],[Field3]");
    See Also