Creates a ConditionValue containing the specified literal.
Namespace: Spotfire.Dxp.Application.Visuals.ConditionalColoring
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
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