Converts a string representation to a TimeSpan value. A return value indicates
whether the conversion succeeded or failed.
Namespace: Spotfire.Dxp.Data.Formatters
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 23.18.9504.3877 (23.18.9504.3877)
Syntax
C#
public override bool TryParse( string str, out Object result )
Parameters
- str
- Type: SystemString
The string to convert. - result
- Type: SystemObject
The TimeSpan value that is the result of the conversion.
Return Value
Type: Booleantrue if str was converted successfully; otherwise, false.
Implements
IDataFormatterTryParse(String, Object)Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If str is the null reference. |
Version Information
See Also