DataTypeCreateFormatter Method (CultureInfo)

Spotfire 14.3 API Reference

Note: This API is now obsolete.

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#
[ObsoleteAttribute("Use CreateCultureSpecificFormatter(string) instead.")]
public IDataFormatter CreateFormatter(
	CultureInfo cultureInfo
)

Parameters

cultureInfo
Type: System.GlobalizationCultureInfo
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 CreateFormatter instead, when the formatting should be dynamically adapted to the culture of the current thread.
Version Information

Obsolete (compiler warning) in 14.3
Obsolete (compiler warning) in 14.2
Obsolete (compiler warning) in 14.1
Obsolete (compiler warning) in 14.0
Obsolete (compiler warning) in 12.5
Obsolete (compiler warning) in 12.4
Obsolete (compiler warning) in 12.3
Obsolete (compiler warning) in 12.2
Obsolete (compiler warning) in 12.1
Obsolete (compiler warning) in 12.0
Obsolete (compiler warning) in 11.8
See Also

Reference