DataValueT Class TIBCO Spotfire 7.6 API Reference
Generic flyweight data value container.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.DataDataValue
    Spotfire.Dxp.DataDataValueT

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

C#
public sealed class DataValue<T> : DataValue, 
	IDataValueProducer

Type Parameters

T
The runtime type of the value.

The DataValueT type exposes the following members.

Constructors

  NameDescription
Public methodDataValueT Obsolete.
Initializes a new instance of the DataValue class. Default constructor, which creates a null value.
Public methodDataValueT(T) Obsolete.
Initializes a new instance of the DataValue class. Creates a new instance with a valid value.
Public methodDataValueT(T, Int32) Obsolete.
Initializes a new instance of the DataValue class. Creates a new instance with a valid value.
Public methodDataValueT(T, Int32, Boolean) Obsolete.
Initializes a new instance of the DataValue class. Creates a new, possibly invalid instance.
Top
Methods

  NameDescription
Public methodAssignFrom
Sets this DataValue instance equal to another DataValue instance.
(Overrides DataValueAssignFrom(DataValue).)
Public methodClone
Creates a copy of this instance.
(Overrides DataValueClone.)
Public methodEquals
Compares two DataValue instances for equality, using the System.Object implementation.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Gets a hash code for this instance, using the System.Object implementation.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNext Obsolete.
The class can be used as a flyweight IDataValueProducer, in which case a single instance is reused.
Public methodSetNullValue
Makes this DataValue instance represents a null value. That is, an invalid value with a null data error. After the method call, HasValidValue will return false, IsNullValue will return true, and HasDataError will return false. The ValidValue property will be null.
(Overrides DataValueSetNullValue.)
Public methodToString
Gets a string representation of this DataValue instance, intended for human readers and debugging purposes.
(Overrides ObjectToString.)
Top
Properties

  NameDescription
Public propertyDataError Obsolete.
Gets or sets the data error contained in this DataValue instance. The getter returns null if HasDataError is false. After invoking the setter HasDataError will be true, HasValidValue and IsNullValue will be false, and ValidValue will return a default value.
(Overrides DataValueDataError.)
Public propertyDataType
Gets the data type corresponding to the runtime values that can be stored in this value container. The data type is fixed, since a data value cannot be used for values of varying types.
(Overrides DataValueDataType.)
Public propertyErrorValue Obsolete.
Gets or sets the error associated with the contained value.
(Overrides DataValueErrorValue.)
Public propertyHasDataError Obsolete.
Gets a value indicating whether this DataValue (i) is invalid and (ii) has an associated data error. If HasDataError is true, then HasValidValue and IsNullValue are both false.
(Overrides DataValueHasDataError.)
Public propertyHasValidValue
Gets a value indicating whether this DataValue contains a valid value. If HasValidValue is false, then either IsNullValue is true or HasDataError is true, but not both. If HasValidValue is true, the IsNullValue and HasDataError are both false.
(Overrides DataValueHasValidValue.)
Public propertyIndex Obsolete.
Gets the row index, if applicable.
(Overrides DataValueIndex.)
Public propertyIsError Obsolete.
Gets a value indicating whether this instance represents an error, such as a numeric overflow in a calculation.
(Overrides DataValueIsError.)
Public propertyIsNullValue
Gets a value indicating whether this DataValue instance represents a null value, or, more precisely, an invalid value with a null data error.
(Overrides DataValueIsNullValue.)
Public propertyIsValid Obsolete.
Gets or sets a value indicating whether there is a valid value.
(Overrides DataValueIsValid.)
Public propertyValidValue
Gets or sets the valid value contained in this DataValue instance. A default value is returned if there is no valid value. After setting a valid value HasValidValue will be true, HasDataError and IsNullValue will be false, and DataError will return null.
Public propertyValue Obsolete.
Gets or sets the contained value. Note that unboxed values are used, unlike the property with the same name in the base class.
Top
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference