|
TimeToString(String) Method
|
Converts the numeric value of this instance to its equivalent string representation, using
the specified format.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
Syntaxpublic string ToString(
string format
)
Public Function ToString (
format As String
) As String
public:
String^ ToString(
String^ format
)
member ToString :
format : string -> string
function ToString(format);
View SourceParameters
- format String
- A format string.
Return Value
String
The string representation of the value of this instance as specified by format.
Remarks
Note that this ToString overload matches
ToString(String), use
ToString(Int32, Double) to convert
Time value into a textual
representation of years, days, hours, minutes and seconds.
See Also