ToString
Converts the value of the current TimeSpan object to its equivalent string representation by using the specified format and culture-specific formatting information.
Public Function ToString(
ByVal ts As TimeSpan,
Optional ByRef Format As String,
Optional ByVal FormatProvider As IFormatProvider ) As String
Parameters
- ts
-
[ByVal]
TimeSpan.
The TimeSpan to be converted to a string.
- Format
-
[ByRef]
Optional.
String.
A standard or custom TimeSpan format string.
- FormatProvider
-
[ByVal]
Optional.
IFormatProvider.
An object that supplies culture-specific formatting information.
Return Values
String - The string representation of the current TimeSpan value, as specified by Format and FormatProvider.
See Also
Project CorLib Overview
Class TimeSpanStatic Overview