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