NAnt SDK Documentation - v0.92

TimeSpanFunctions.GetMilliseconds Method 

Returns the number of whole milliseconds represented by the specified TimeSpan.

[Visual Basic]
<Function(Name:="get-milliseconds")>
Public Shared Function GetMilliseconds( _
   ByVal value As TimeSpan _
) As Integer
[C#]
[Function(Name="get-milliseconds")]
public static int GetMilliseconds(
   TimeSpan value
);

Parameters

value
A TimeSpan.

Return Value

The number of whole milliseconds represented by the given TimeSpan.

See Also

TimeSpanFunctions Class | NAnt.Core.Functions Namespace