Version

EndCalculation Method (MaximumSummaryCalculator)

Called after all the data has been aggregated into the calculation to return the result of the calculation.
Syntax
'Declaration
 
Public Overrides Function EndCalculation( _
   ByVal summaryResult As SummaryResult _
) As Object
public override object EndCalculation( 
   SummaryResult summaryResult
)

Parameters

summaryResult
SummaryResult object for which the summary is being calculated.

Return Value

Result of the calculation.
Remarks

This method is called after all the data has been aggregated via Aggregate method calls. It returns the result of the calculation.

Note that summaryResult parameter is for extra context only and typically it's not necessary to use it or take it into account for calculation 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