ConditionValue CreateLiteral Method (Object, DataType) TIBCO Spotfire 7.0 API Reference
Creates a ConditionValue containing the specified literal.

Namespace: Spotfire.Dxp.Application.Visuals.ConditionalColoring
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
Syntax

public static ConditionValue CreateLiteral(
	Object literal,
	DataType dataType
)

Parameters

literal
Type: System Object
The literal.
dataType
Type: Spotfire.Dxp.Data DataType
The data type for the literal.

Return Value

Type: ConditionValue
The newly created ConditionValue.
Exceptions

ExceptionCondition
System ArgumentExceptionThrown if the literal is of other data type than the given.
Version Information

Supported in: 7.0, 6.5, 6.0, 5.5, 5.0
See Also