ConditionValueCreateLiteral Method (Object, DataType) TIBCO Spotfire 7.12 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: 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: ConditionValue
The newly created ConditionValue.
Exceptions

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

Supported in: 7.9, 7.8, 7.7, 7.6, 7.5, 7.12, 7.11, 7.10, 7.0
See Also

Reference