Creates a ConditionValue containing the specified literal.
Namespace: Spotfire.Dxp.Application.Visuals.ConditionalColoring
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 30.0.11525.4184 (30.0.11525.4184)
Syntax
C#
public static ConditionValue CreateLiteral( Object literal, DataType dataType )
Parameters
- literal
- Type: SystemObject
The literal. - dataType
- Type: Spotfire.Dxp.DataDataType
The data type for the literal.
Return Value
Type: ConditionValueThe newly created ConditionValue.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown if the literal is of other data type than the given. |
Version Information
See Also