DataFormatterBaseTryParse Method TIBCO Spotfire 7.9 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: 30.0.10915.3380 (30.0.10915.3380)
Syntax

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

Parameters

str
Type: SystemString
The string to convert.
result
Type: SystemObject
The object that is the result of the conversion.

Return Value

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

Implements

IDataFormatterTryParse(String, Object)
Exceptions

ExceptionCondition
ArgumentNullExceptionIf str is the null reference.
Version Information

Supported in: 7.9, 7.8, 7.7, 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference