Creates a DataValue instance of a given data type.
Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 30.0.11525.4184 (30.0.11525.4184)
Syntax
C#
public static DataValue Create( DataType dataType )
Parameters
- dataType
- Type: Spotfire.Dxp.DataDataType
A non-null DataType instance.
Return Value
Type: DataValueA new DataValue instance of the given type, initially set to a null value.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | If the data type is the undefined data type. |
| ArgumentNullException | If the data type is null. |
Version Information
See Also