TimeSpanFormatter TryParse Method TIBCO Spotfire 6.0 API Reference
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: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public override bool TryParse(
	string str,
	out Object result
)

Parameters

str
Type: System String
The string to convert.
result
Type: System Object 
The TimeSpan value that is the result of the conversion.

Return Value

Type: Boolean
true if str was converted successfully; otherwise, false.

Implements

IDataFormatter TryParse(String, Object )
Exceptions

ExceptionCondition
System ArgumentNullExceptionIf str is the null reference.
See Also