DataFormatterBase TryParse Method TIBCO Spotfire 6.5 API Reference
Converts a string representation to an object. 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: 14.10.7525.5058 (14.10.7525.5058)
Syntax

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

Parameters

str
Type: System String
The string to convert.
result
Type: System Object 
The object 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.
Version Information

Supported in: 6.5, 6.0, 5.5, 5.0, 4.5
See Also