Summary
Returns a
System.TimeSpan that represents a specified number
of milliseconds.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Containing Type
- TimeSpanFunctions
Syntax
[Function("from-milliseconds")]
public static TimeSpan FromMilliseconds(double value)
Attributes
| Type | Description |
|---|---|
| FunctionAttribute | Indicates that the method should be exposed as a function in NAnt build files. |
Parameters
| Name | Type | Description |
|---|---|---|
| value | double | A number of milliseconds. |
Return Value
| Type | Description |
|---|---|
| TimeSpan |
A System.TimeSpan that represents value.
|
