Version

Aggregate Method (SumSummaryCalculator)

Processes individual piece of data value.
Syntax
'Declaration
 
Public Overrides Sub Aggregate( _
   ByVal dataValue As Object, _
   ByVal summaryResult As SummaryResult, _
   ByVal record As Record _
) 
public override void Aggregate( 
   object dataValue,
   SummaryResult summaryResult,
   Record record
)

Parameters

dataValue
Data value to process into calculation
summaryResult
SummaryResult object for which the summary is being calculated.
record
The record associated with the data value.
Remarks

This method is called for each data value that is to be aggregated into the calculation.

Note that summaryResult and record parameters are for extra context only and typically it's not necessary to look at them or take them into account for calculation purposes. The dataValue should suffice for most purposes.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also