|
TimeToString(IFormatProvider) Method
|
Converts the numeric value of this instance to its equivalent string representation using the
specified culture-specific format information.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.260-beta+0f4e919571e6ec7e8e07a8e325416284b7e38fa3
Syntaxpublic string ToString(
IFormatProvider provider
)
Public Function ToString (
provider As IFormatProvider
) As String
public:
virtual String^ ToString(
IFormatProvider^ provider
) sealed
abstract ToString :
provider : IFormatProvider -> string
override ToString :
provider : IFormatProvider -> string function ToString(provider);
View SourceParameters
- provider IFormatProvider
-
A IFormatProvider that supplies culture-specific formatting information.
Return Value
String
The string representation of the value of this instance as specified by provider.
Implements
IConvertibleToString(IFormatProvider)
Remarks
Note that this ToString overload matches
ToString(IFormatProvider), use
ToString(Int32, Double) to convert
Time value into a textual
representation of years, days, hours, minutes and seconds.
See Also