DataValue T  Constructor (T, Int32, Boolean) TIBCO Spotfire 6.0 API Reference
Initializes a new instance of the DataValue class. Creates a new, possibly invalid instance.

Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

[ObsoleteAttribute("Use a factory method.")]
public DataValue(
	T value,
	int index,
	bool isValid
)

Parameters

value
Type: T
The valid value, used only if isValid is true.
index
Type: System Int32
The index.
isValid
Type: System Boolean
Indicating whether the value is valid or not.
Remarks

If isValid is false, the value argument will not be used. Instead, the value will be set to the default value. This is necessary to maintain an invariant of the class: the value property of an invalid data value is always the default value of its type.
See Also