DataFormatterBaseTryParse Method

Spotfire 14.3 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: 65.0.19510.3242 (65.0.19510.3242)
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: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference