DataValueCreate Method (DataType)

Spotfire 14.3 API Reference
Creates a DataValue instance of a given data type.

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

C#
public static DataValue Create(
	DataType dataType
)

Parameters

dataType
Type: Spotfire.Dxp.DataDataType
A non-null DataType instance.

Return Value

Type: DataValue
A new DataValue instance of the given type, initially set to a null value.
Exceptions

ExceptionCondition
ArgumentExceptionIf the data type is the undefined data type.
ArgumentNullExceptionIf the data type is null.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference