DataValue Members TIBCO Spotfire 7.0 API Reference
The DataValue type exposes the following members.
Methods

  NameDescription
Public methodAssignFrom
Sets this DataValue instance equal to another DataValue instance.
Public methodClone
Creates a copy of this instance.
Public methodStatic memberCreate(DataType)
Creates a DataValue instance of a given data type.
Public methodStatic memberCreate(DataType, DataErrorValue)Obsolete.
Creates a DataValue instance of a given data type and with a provided error value.
Public methodStatic memberCreate(DataType, Object)
Creates a DataValue instance of a given data type and with a provided initial value.
Public methodStatic memberCreate T  
Creates a DataValue instance of a given runtime type.
Public methodStatic memberCreate T (T)
Creates a DataValue instance of a given runtime type and with a provided initial value.
Public methodStatic memberCreate T (T, Boolean)
Creates a DataValue instance of a given runtime type and with a provided initial value. This method is redundant but useful in practice.
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 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 methodSetNullValue
Makes this DataValue instance represent 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 or default(T).
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.
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.
Public propertyErrorValueObsolete.
Gets or sets the data error associated with this DataValue.
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.
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.
Public propertyIndexObsolete.
Gets the row index associated with this DataValue, if applicable.
Public propertyIsErrorObsolete.
Gets a value indicating whether the DataValue represents an error.
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.
Public propertyIsValidObsolete.
Gets or sets a value indicating whether the contained data value is valid.
Public propertyValidValue
Gets or sets the runtime value contained in this DataValue instance, as a boxed value. The getter returns null for reference types and default(T) for value types, if the HasValidValue is false. After setting a valid value HasValidValue will be true, HasDataError and IsNullValue will be false, and DataError will return null.
Public propertyValueObsolete.
Gets the value contained in this DataValue instance.
Back to Top
See Also