NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TimeSpan.FromTicks

Creates a TimeSpan with a specified ticks value.

[Visual Basic]
Public Shared Function FromTicks( _
   ByVal value As Long _
) As TimeSpan
[C#]
public static TimeSpan FromTicks(
   long value
);
[C++]
public: static TimeSpan FromTicks(
   __int64 value
);
[JScript]
public static function FromTicks(
   value : long
) : TimeSpan;

Parameters

value
The number of ticks used in initializing the new TimeSpan.

Return Value

A TimeSpan with a ticks value of value.

Remarks

This method is identical to the TimeSpan(Int64) constructor.

See Also

TimeSpan Structure | TimeSpan Members | System Namespace | Int64