Xceed Toolkit Plus for WPF v4.6 Documentation
Accumulate Method (CountFunction)


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.Data.Stats Namespace > CountFunction Class : Accumulate Method
An array of values that will be accumulated to calculate the result of the statistical function.
Accumulates the values required to calculate the result of the statistical function.
Syntax
'Declaration
 
Protected Friend Overrides Sub Accumulate( _
   ByVal values() As Object _
) 
'Usage
 
Dim instance As CountFunction
Dim values() As Object
 
instance.Accumulate(values)
protected internal override void Accumulate( 
   object[] values
)

Parameters

values
An array of values that will be accumulated to calculate the result of the statistical function.
Remarks

If an exception occurs in the Accumulate, AccumulateChildResult, or GetResult methods, it will be caught by the grid and returned as the result of the statistical function. In some cases, such as when the statistical function's required parameters are being validated in the Validate method, the exception will not be caught since if the validation fails the statistical function is not able to calculate its result.

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, 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

Reference

CountFunction Class
CountFunction Members
Base Implementation in Accumulate