The DataType type exposes the following members.
Name | Description | |
---|---|---|
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. |
|
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. |
|
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. |
|
CreateList | Obsolete. Create an array of the representation type.
|
|
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. |
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
FromExternalDataType |
Converts a DataSourceDataType to a DataType.
|
|
FromImportReaderColumn |
Converts the type of a column, from an IDataReader, to the
DataType used in the Data Manager.
|
|
FromImportType |
Converts the type from an import source to the DataType used
in the Data Manager.
|
|
FromName |
Looks up a data type by name.
|
|
GetDataType |
Gets the DataType with the given name.
|
|
GetRealObject |
Returns the real object that should be deserialized,
rather than the object that the serialized stream specifies.
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString |
Get the name of the data type.
(Overrides ObjectToString.) |
|
TryConvertFromNumeric |
Converts a value from a numeric (double) representation, to the value representation
defined by dataType.
|
|
TryConvertToNumeric |
Converts a value to a numeric (double) representation.
|
|
Validate |
Validates a value with the representation type.
|