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

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

    Parameters

    aggType
    C1.Win.C1FlexGrid.AggregateEnum value that specifies the type of aggregate to calculate.
    rg
    C1.Win.C1FlexGrid.CellRange object that contains the values to be aggregated.
    flags
    C1.Win.C1FlexGrid.AggregateFlags value that specifies aggregation options.

    Return Value

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