ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / Interaction Class / Partition Method
Required. Long. Whole number that you want to locate within one of the calculated ranges.
Required. Long. Whole number that indicates the start of the set of calculated ranges. Start cannot be less than 0.
Required. Long. Whole number that indicates the end of the set of calculated ranges. Stop cannot be less than or equal to Start.
Required. Long. Whole number that indicates the size of each range calculated between Start and Stop. Interval cannot be less than 1.

In This Topic
    Partition Method
    In This Topic
    Returns a string representing the calculated range that contains a number.
    Syntax
    'Declaration
     
    Public Shared Function Partition( _
       ByVal Number As Long, _
       ByVal Start As Long, _
       ByVal Stop As Long, _
       ByVal Interval As Long _
    ) As String
    public static string Partition( 
       long Number,
       long Start,
       long Stop,
       long Interval
    )

    Parameters

    Number
    Required. Long. Whole number that you want to locate within one of the calculated ranges.
    Start
    Required. Long. Whole number that indicates the start of the set of calculated ranges. Start cannot be less than 0.
    Stop
    Required. Long. Whole number that indicates the end of the set of calculated ranges. Stop cannot be less than or equal to Start.
    Interval
    Required. Long. Whole number that indicates the size of each range calculated between Start and Stop. Interval cannot be less than 1.

    Return Value

    Returns a string representing the calculated range that contains a number.
    Exceptions
    ExceptionDescription
    The exception that is thrown when one of the arguments provided to a method is not valid.
    See Also