DataType Methods

Spotfire 14.3 API Reference

The DataType type exposes the following members.

Methods

  NameDescription
Public methodCreateCultureSpecificFormatter(CultureInfo) 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.

Public methodCreateCultureSpecificFormatter(String)
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.

Public methodCreateFormatter Obsolete.
Creates a user localized 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.

Public methodCreateFormatter(CultureInfo) 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.

Public methodCreateList Obsolete.
Create an array of the representation type.
Public methodCreateLocalizedFormatter
Creates a user localized 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.

Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberFromExternalDataType
Converts a DataSourceDataType to a DataType.
Public methodStatic memberFromImportReaderColumn
Converts the type of a column, from an IDataReader, to the DataType used in the Data Manager.
Public methodStatic memberFromImportType
Converts the type from an import source to the DataType used in the Data Manager.
Public methodStatic memberFromName
Looks up a data type by name.
Public methodStatic memberGetDataType
Gets the DataType with the given name.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetRealObject
Returns the real object that should be deserialized, rather than the object that the serialized stream specifies.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Get the name of the data type.
(Overrides ObjectToString.)
Public methodStatic memberTryConvertFromNumeric
Converts a value from a numeric (double) representation, to the value representation defined by dataType.
Public methodStatic memberTryConvertToNumeric
Converts a value to a numeric (double) representation.
Public methodValidate
Validates a value with the representation type.
Top
See Also

Reference