Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinCalculator Class / GetValue Method / GetValue(Type,IFormatProvider) Method
The System.Type to which to convert the result of the mathematical equation.
The System.IFormatProvider to use to format the result of the mathematical equation.


In This Topic
    GetValue(Type,IFormatProvider) Method
    In This Topic
    Resolves the current mathematical equation and converts it to the specified System.Type using the provided System.IFormatProvider.
    Syntax
    'Declaration
     
    Public Overloads Function GetValue( _
       ByVal type As Type, _
       ByVal provider As IFormatProvider _
    ) As Object
    'Usage
     
    Dim instance As WinCalculator
    Dim type As Type
    Dim provider As IFormatProvider
    Dim value As Object
     
    value = instance.GetValue(type, provider)
    public object GetValue( 
       Type type,
       IFormatProvider provider
    )

    Parameters

    type
    The System.Type to which to convert the result of the mathematical equation.
    provider
    The System.IFormatProvider to use to format the result of the mathematical equation.

    Return Value

    An object containing the result of the mathematical equation.
    Remarks

    Calling the GetValue method is the equivalent of pressing the equal (=) button.

    Requirements

    Target Platforms: 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