[This is preliminary documentation and is subject to change.]
Serializes the given TimeSpan to the given StringBuilder, as the number of seconds.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
| C# |
public static void ToSecondsString( this TimeSpan time, StringBuilder sb )
Parameters
- time
- TimeSpan
TimeSpan to serialize.
- sb
- StringBuilder
StringBuilder to which time will be saved.
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.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | sb is null. |