Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.ListBox Assembly / Xceed.Wpf.Data.Stats Namespace / StatFunction Class / GetResult Method


In This Topic
    GetResult Method (StatFunction)
    In This Topic
    Retrieves the result of the statistical function.
    Syntax
    'Declaration
     
    Protected Friend MustOverride Function GetResult() As StatResult
    'Usage
     
    Dim instance As StatFunction
    Dim value As StatResult
     
    value = instance.GetResult()
    protected internal abstract StatResult GetResult()

    Return Value

    A StatResult containing the result of the statistical function
    Remarks
    If an exception occurs in the Accumulate, AccumulateChildResult, or GetResult methods, it will be caught by a 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