Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / BuiltInNumberFormats Class / GetBuiltInNumberFormat Method
An integer value indicates the number format ID.
The System.Globalization.CultureInfo object that supplies culture-specific formatting information.


In This Topic
    GetBuiltInNumberFormat Method
    In This Topic
    Gets a number format string by the specified ID.
    Syntax
    'Declaration
     
    
    Public Shared Function GetBuiltInNumberFormat( _
       ByVal builtInId As Integer, _
       Optional ByVal cultureInfo As CultureInfo _
    ) As NumberFormat
    'Usage
     
    
    Dim builtInId As Integer
    Dim cultureInfo As CultureInfo
    Dim value As NumberFormat
     
    value = BuiltInNumberFormats.GetBuiltInNumberFormat(builtInId, cultureInfo)
    public static NumberFormat GetBuiltInNumberFormat( 
       int builtInId,
       CultureInfo cultureInfo
    )

    Parameters

    builtInId
    An integer value indicates the number format ID.
    cultureInfo
    The System.Globalization.CultureInfo object that supplies culture-specific formatting information.

    Return Value

    A System.String value represents the built-in number format.
    See Also