Click or drag to resize

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: GSF.Units
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.256-beta+0e7e94d39a9b10efe7e26e3b8d5130afc0dd4d74
Syntax
public string ToString(
	string format,
	IFormatProvider provider
)
View Source

Parameters

format  String
A format specification.
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 format and provider.

Implements

IFormattableToString(String, IFormatProvider)
Remarks
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.
See Also