Spread Windows Forms 12.0 Product Documentation
GetBuiltInId Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > BuiltInNumberFormats Class : GetBuiltInId Method
A string value indicates the number format.
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)
public static int GetBuiltInId( 
   string 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

Reference

BuiltInNumberFormats Class
BuiltInNumberFormats Members