DataTypeFromImportType Method TIBCO Spotfire 7.6 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: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
public static DataType FromImportType(
	Type type
)

Parameters

type
Type: SystemType
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.
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference