DataValue T  Members TIBCO Spotfire 6.0 API Reference
The DataValue T  type exposes the following members.
Constructors

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

  NameDescription
Public methodAssignFrom
Sets this DataValue instance equal to another DataValue instance.
(Overrides DataValue AssignFrom(DataValue).)
Public methodClone
Creates a copy of this instance.
(Overrides DataValue Clone .)
Public methodEquals
Compares two DataValue instances for equality, using the System.Object implementation.
(Overrides Object Equals(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 Object GetHashCode .)
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 methodNextObsolete.
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 DataValue SetNullValue .)
Public methodToString
Gets a string representation of this DataValue instance, intended for human readers and debugging purposes.
(Overrides Object ToString .)
Back to Top
Properties

  NameDescription
Public propertyDataErrorObsolete.
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 DataValue DataError.)
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 DataValue DataType.)
Public propertyErrorValueObsolete.
Gets or sets the error associated with the contained value.
(Overrides DataValue ErrorValue.)
Public propertyHasDataErrorObsolete.
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 DataValue HasDataError.)
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 DataValue HasValidValue.)
Public propertyIndexObsolete.
Gets the row index, if applicable.
(Overrides DataValue Index.)
Public propertyIsErrorObsolete.
Gets a value indicating whether this instance represents an error, such as a numeric overflow in a calculation.
(Overrides DataValue IsError.)
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 DataValue IsNullValue.)
Public propertyIsValidObsolete.
Gets or sets a value indicating whether there is a valid value.
(Overrides DataValue IsValid.)
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 propertyValueObsolete.
Gets or sets the contained value. Note that unboxed values are used, unlike the property with the same name in the base class.
Back to Top
See Also