ScalarDataValue Members
- Updated2023-02-21
- 5 minute(s) read
The ScalarDataValue type exposes the following members.
| Name | Description | |
|---|---|---|
| ScalarDataValue | Overloaded.
Initializes a new instance of ScalarDataValue.
|
Methods
| Name | Description | |
|---|---|---|
| Clone | Creates a new object that is a copy of the current data resource. (Inherited from DataResource.) | |
| CompareTo | Overloaded.
Compares this instance to a specified object and returns an integer that indicates their relationship to each other. This is an abstract declaration only. Derived classes must implement the correct CompareTo method for that class.
| |
| Equals | Overloaded.
Returns a value indicating whether this instance is equal to the specified DataResource object. This method uses Type and Units to determine equivalency.
| |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| FromString | Converts the specified string to its scalar equivalent. This is an abstract declaration only. Derived classes must implement the correct FromString method for that class. | |
| GetBytes | Returns the data value as an array of bytes. (Inherited from DataValue.) | |
| GetHashCode | Serves as a hash function for a DataValue object. The hash code this method returns is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from DataValue.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetBytes | Sets the DataValue based on Bytes. This is an abstract declaration only. Derived classes must implement the correct SetBytes method for that class. (Inherited from DataValue.) | |
| ToBoolean | Returns if this instance is a nonzero value. This is an abstract declaration only. Derived classes must implement the correct ToBoolean method for that class. | |
| ToDouble | Returns the value of this instance as a double-precision floating point number. This is an abstract declaration only. Derived classes must implement the correct ToDouble method for that class. | |
| ToInt32 | Returns the value of this instance as an equivalent 32-bit signed integer. This is an abstract declaration only. Derived classes must implement the correct ToInt32 method for that class. | |
| ToInt64 | Returns the value of this instance as an equivalent 64-bit signed integer. This is an abstract declaration only. Derived classes must implement the correct ToInt64 method for that class. | |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
| ToUInt32 | Returns the value of this instance as an equivalent 32-bit unsigned integer. This is an abstract declaration only. Derived classes must implement the correct ToUInt32 method for that class. | |
| ToUInt64 | Returns the value of this instance as an equivalent 64-bit unsigned integer. This is an abstract declaration only. Derived classes must implement the correct ToUInt64 method for that class. |
Properties
| Name | Description | |
|---|---|---|
| Size | Gets the size of the data value. (Inherited from DataValue.) | |
| Type | Gets the data type of the data value. (Inherited from DataValue.) | |
| Units | Gets or sets the units of the data value. Units can be any string that makes sense for the data value. (Inherited from DataValue.) | |
| ValueAsString | Gets or sets the value as a string. |
Events
| Name | Description | |
|---|---|---|
| PropertyChanged | Occurs when a property value changes. (Inherited from DataResource.) |