DataValueT Constructor (T, Int32, Boolean) TIBCO Spotfire 7.6 API Reference

Note: This API is now obsolete.

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: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
[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: SystemInt32
The index.
isValid
Type: SystemBoolean
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.
Version Information

Obsolete (compiler warning) in 7.6
Obsolete (compiler warning) in 7.5
Obsolete (compiler warning) in 7.0
Obsolete (compiler warning) in 6.5
Obsolete (compiler warning) in 6.0
Obsolete (compiler warning) in 5.5
Obsolete (compiler warning) in 5.0
See Also

Reference