Parameters
- format
- A standard or custom format string (see Remarks).
The value of this parameter can be
null
(Nothing
in Visual Basic).
Return Value
This method never returns null
(Nothing
in Visual Basic).
The value of this parameter can be null
(Nothing
in Visual Basic).
The value of this parameter can be null
(Nothing
in Visual Basic).
This method never returns null
(Nothing
in Visual Basic).
The format parameter should contain either a standard format specifier or a custom format pattern that defines the format of the returned string. If format is null
or an empty string, the general format specifier, 'G', is used.
This method uses formatting information derived from the current culture.
This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.