NAnt SDK Documentation - v0.92

TimeSpanFunctions.GetTicks Method 

Returns the number of ticks contained in the specified TimeSpan.

[Visual Basic]
<Function(Name:="get-ticks")>
Public Shared Function GetTicks( _
   ByVal value As TimeSpan _
) As Long
[C#]
[Function(Name="get-ticks")]
public static long GetTicks(
   TimeSpan value
);

Parameters

value
A TimeSpan.

Return Value

The number of ticks contained in the given TimeSpan.

See Also

TimeSpanFunctions Class | NAnt.Core.Functions Namespace