[This is preliminary documentation and is subject to change.]

Returns the number of seconds in a TimeSpan, rounded down.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.1 (0.6.3.1)

Syntax

   
 C# 
public static long ToSeconds(
	this TimeSpan time
)

Parameters

time
TimeSpan

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type TimeSpan. When you use instance method syntax to call this method, omit the first parameter.

See Also