Creates a DataValue instance of a given data type and with a provided initial value.
Namespace: Spotfire.Dxp.DataAssembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 14.10.7525.5058 (14.10.7525.5058)
Syntax
Parameters
- dataType
- Type: Spotfire.Dxp.Data DataType
A non-null DataType instance.
- initialValue
- Type: System Object
The value. If null, the initial value will be null.
Return Value
Type: DataValueA new DataValue instance.
Exceptions
Exception | Condition |
---|---|
System InvalidCastException | If the initial value is non-null and does not match the data type. |
System ArgumentNullException | If the data type is null. |
Version Information
See Also