The DataValue T type exposes the following members.
Back to Top
Properties
Name | Description | |
---|---|---|
DataError | 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 DataValue DataError.) | |
DataType |
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.) | |
ErrorValue | Obsolete.
Gets or sets the error associated with the contained value.
(Overrides DataValue ErrorValue.) | |
HasDataError | 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 DataValue HasDataError.) | |
HasValidValue |
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.) | |
Index | Obsolete.
Gets the row index, if applicable.
(Overrides DataValue Index.) | |
IsError | Obsolete.
Gets a value indicating whether this instance represents an error, such as a numeric overflow
in a calculation.
(Overrides DataValue IsError.) | |
IsNullValue |
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.) | |
IsValid | Obsolete.
Gets or sets a value indicating whether there is a valid value.
(Overrides DataValue IsValid.) | |
ValidValue |
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.
| |
Value | Obsolete.
Gets or sets the contained value. Note that unboxed values are used,
unlike the property with the same name in the base class.
|
See Also