[This is preliminary documentation and is subject to change.]
Parses the given string as a TimeSpan in compact representation. Throws exceptions on failure.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)
Syntax
Parameters
- text
- String
String to parse.
Return Value
Parsed TimeSpan.Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | text is null. |
| System..::..OverflowException | The resulting TimeSpan is greater than TimeSpan.MaxValue. |
| System..::..FormatException | input has an invalid format. |