ConditionValue CreateLiteral Method (Object, DataType) TIBCO Spotfire 6.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: 13.19.7018.3940 (13.19.7018.3940)
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.
See Also