DataType Methods TIBCO Spotfire 6.0 API Reference
The DataType type exposes the following members.
Methods

  NameDescription
Public methodCreateCultureSpecificFormatter
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 methodCreateListObsolete.
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.

Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(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 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.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Get the name of the data type.
(Overrides Object ToString .)
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.
Back to Top
See Also