ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.5.2 Assembly / C1.Win.C1FlexGrid Namespace / C1FlexGrid Class / Aggregate Method / Aggregate(AggregateEnum,CellRange) Method
AggregateEnum value that specifies the type of aggregate to calculate.
CellRange object that contains the values to be aggregated.

In This Topic
    Aggregate(AggregateEnum,CellRange) Method
    In This Topic
    Calculates aggregate statistics for a range.
    Syntax
    'Declaration
     
    Public Overloads Function Aggregate( _
       ByVal aggType As AggregateEnum, _
       ByVal rg As CellRange _
    ) As Double
    public double Aggregate( 
       AggregateEnum aggType,
       CellRange rg
    )

    Parameters

    aggType
    AggregateEnum value that specifies the type of aggregate to calculate.
    rg
    CellRange object that contains the values to be aggregated.

    Return Value

    A System.Double that represents the aggregate value.
    See Also