Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / GeneralFormatter Class / GetFormatType Method
The object value to format.


In This Topic
    GetFormatType Method
    In This Topic
    Gets the preferred formatter type for a specified object.
    Syntax
    'Declaration
     
    Public Function GetFormatType( _
       ByVal obj As Object _
    ) As NumberFormatType
    'Usage
     
    Dim instance As GeneralFormatter
    Dim obj As Object
    Dim value As NumberFormatType
     
    value = instance.GetFormatType(obj)
    public NumberFormatType GetFormatType( 
       object obj
    )

    Parameters

    obj
    The object value to format.

    Return Value

    Returns a NumberFormatType enumeration that specifies the format type.
    See Also