DataTypeCreateCultureSpecificFormatter Method (String)

Spotfire 14.3 API Reference
Creates a culture specific formatter for this data type.

A formatter may configured by casting it to the corresponding formatter class. For numeric types (DataType.Integer, DataType.Long and DataType.Real) the formatter class is NumberFormatter. For date/time types (DataType.Date, DataType.Time and DataType.DateTime it is DateTimeFormatter. The formatter class for DataType.String is StringFormatter.

Namespace:  Spotfire.Dxp.Data
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public DataFormatterBase CreateCultureSpecificFormatter(
	string cultureName
)

Parameters

cultureName
Type: SystemString
The name of the culture for this formatter.

Return Value

Type: DataFormatterBase
A formatter.
Remarks

Formatters created with this method will always have a fixed culture. Use CreateLocalizedFormatter instead, when the formatting should be dynamically adapted to the culture of the current thread.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0
See Also

Reference