Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.UI Namespace / UIHelper Class / Format Method / Format(IEvaluationContext,IValue,ValueType,Boolean) Method


In This Topic
    Format(IEvaluationContext,IValue,ValueType,Boolean) Method
    In This Topic
    Formats a value to specify value type.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function Format( _
       ByVal context As IEvaluationContext, _
       ByVal value As IValue, _
       ByVal valueType As ValueType, _
       ByVal isArrayArgument As Boolean _
    ) As IValue
    'Usage
     
    
    Dim context As IEvaluationContext
    Dim value As IValue
    Dim valueType As ValueType
    Dim isArrayArgument As Boolean
    Dim value As IValue
     
    value = UIHelper.Format(context, value, valueType, isArrayArgument)

    Parameters

    context
    value
    valueType
    isArrayArgument

    Return Value

    A value with type is expected value type.
    See Also