DataType Methods TIBCO Spotfire 7.6 API Reference

The DataType type exposes the following members.

Methods

  Name Description
Public method CreateCultureSpecificFormatter
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 method CreateFormatter 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 method CreateFormatter(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 method CreateList Obsolete.
Create an array of the representation type.
Public method CreateLocalizedFormatter
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.

Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method Static member FromExternalDataType
Converts a DataSourceDataType to a DataType.
Public method Static member FromImportReaderColumn
Converts the type of a column, from an IDataReader, to the DataType used in the Data Manager.
Public method Static member FromImportType
Converts the type from an import source to the DataType used in the Data Manager.
Public method Static member FromName
Looks up a data type by name.
Public method Static member GetDataType
Gets the DataType with the given name.
Public method GetRealObject
Returns the real object that should be deserialized, rather than the object that the serialized stream specifies.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Get the name of the data type.
(Overrides ObjectToString.)
Public method Static member TryConvertFromNumeric
Converts a value from a numeric (double) representation, to the value representation defined by dataType.
Public method Static member TryConvertToNumeric
Converts a value to a numeric (double) representation.
Public method Validate
Validates a value with the representation type.
Top
See Also

Reference