Summary
Converts the specified System.TimeSpan
to its equivalent
string representation.
Syntax
[Function("to-string")]
public static string ToString(TimeSpan value)
Attributes
Type |
Description |
FunctionAttribute |
Indicates that the method should be exposed as a function in NAnt build
files.
|
Parameters
Name |
Type |
Description |
value |
TimeSpan |
A System.TimeSpan to convert. |
Return Value
Type |
Description |
string |
The string representation of value. The format
of the return value is of the form: [-][d.]hh:mm:ss[.ff].
|