ConditionValueCreateLiteral Method (Object, DataType)

TIBCO Spotfire 11.4 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: 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: ConditionValue
The newly created ConditionValue.
Exceptions

ExceptionCondition
ArgumentExceptionThrown 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

Reference