Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / BuiltInNumberFormats Class / GetBuiltInId Method
A string value indicates the number format.


In This Topic
GetBuiltInId Method
In This Topic
Gets the built-in ID of the specified number format.
Syntax
'Declaration
 
Public Shared Function GetBuiltInId( _
   ByVal format As String _
) As Integer
 
'Usage
 
Dim format As String
Dim value As Integer
 
value = BuiltInNumberFormats.GetBuiltInId(format)

Parameters

format
A string value indicates the number format.

Return Value

A System.Int32 value represents the built-in ID. Return -1 means the number format is not a built-in number format.
See Also