TimeToString(String, IFormatProvider) Method
Converts the numeric value of this instance to its equivalent string representation using the
specified format and culture-specific format information.
Namespace: Gemstone.UnitsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.147 -- Release Build+759c9d29b79c81f10905de8f58b653be932045f0
public string ToString(
string format,
IFormatProvider provider
)
Public Function ToString (
format As String,
provider As IFormatProvider
) As String
public:
virtual String^ ToString(
String^ format,
IFormatProvider^ provider
) sealed
function ToString(format, provider);
- format String
- A format specification.
- provider IFormatProvider
-
A IFormatProvider that supplies culture-specific formatting information.
String
The string representation of the value of this instance as specified by format and provider.
IFormattableToString(String, IFormatProvider)
Note that this ToString overload matches
ToString(String, IFormatProvider), use
ToString(Int32, Double) to convert
Time value into a textual representation
of years, days, hours, minutes and seconds.