GetSerialNoByFormat Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetSerialNoByFormat() method retrieves a serial number by using the supplied format.
'Declaration
Public Shared Sub GetSerialNoByFormat( _
ByVal serialNoFormat As String, _
ByRef serialNo As Integer _
)
public static void GetSerialNoByFormat(
string serialNoFormat,
out int serialNo
)
Parameters
- serialNoFormat
- Required. Holds the format for a serial number. A date/time format must be supplied such that a valid number must be returned when using this format.
- serialNo
- Output. Holds the returned the serial number based on the supplied format.