DataType FromImportType Method TIBCO Spotfire 6.0 API Reference
Converts the type from an import source to the DataType used in the Data Manager.

Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public static DataType FromImportType(
	Type type
)

Parameters

type
Type: System Type
The import source .Net-type.

Return Value

Type: DataType
The converted DataType, DataType.Undefined if no conversion was possible.
Remarks

Note that this is not always possible to correctly determine the DataType from type since all the date and time types share the same representation type.
See Also