Creates a ConditionValue containing the specified literal.
Namespace: Spotfire.Dxp.Application.Visuals.ConditionalColoring
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 51.0.16121.3915 (51.0.16121.3915)
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
Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also