DataType CreateCultureSpecificFormatter Method TIBCO Spotfire 6.0 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: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public IDataFormatter CreateCultureSpecificFormatter(
	CultureInfo cultureInfo
)

Parameters

cultureInfo
Type: System.Globalization CultureInfo
The culture information for this formatter.

Return Value

Type: IDataFormatter
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.
See Also