BooleanValue Members
- Updated2023-02-21
- 5 minute(s) read
The BooleanValue type exposes the following members.
| Name | Description | |
|---|---|---|
| BooleanValue | Overloaded.
Initializes a new instance of BooleanValue.
|
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.
| |
| Equals | Overloaded.
Returns a value indicating whether this instance is equal to the specified DataResource object.
| |
| 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 Boolean equivalent. (Overrides ScalarDataValue.FromString(String).) | |
| GetBytes | Returns the Boolean value as an array of bytes. (Overrides DataValue.GetBytes().) | |
| 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 BooleanValue to true (True in Visual Basic) or false (False in Visual Basic) based on Bytes. (Overrides DataValue.SetBytes(Byte[]).) | |
| ToBoolean | Returns the value of this instance as a Boolean. (Overrides ScalarDataValue.ToBoolean().) | |
| ToDouble | Returns the value of this instance as an equivalent double-precision floating point number. (Overrides ScalarDataValue.ToDouble().) | |
| ToInt32 | Returns the value of this instance as an equivalent 32-bit signed integer. (Overrides ScalarDataValue.ToInt32().) | |
| ToInt64 | Returns the value of this instance as an equivalent 64-bit signed integer. (Overrides ScalarDataValue.ToInt64().) | |
| ToString | Returns the value of this instance as an equivalent string. (Overrides Object.ToString().) | |
| ToUInt32 | Returns the value of this instance as an equivalent 32-bit unsigned integer. (Overrides ScalarDataValue.ToUInt32().) | |
| ToUInt64 | Returns the value of this instance as an equivalent 64-bit unsigned integer. (Overrides ScalarDataValue.ToUInt64().) |
Properties
| Name | Description | |
|---|---|---|
| Size | Gets the size of the Boolean value. (Overrides DataValue.Size.) | |
| Type | Gets the data type of the Boolean value. (Overrides DataValue.Type.) | |
| 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.) | |
| Value | Gets or sets the value of the Boolean. | |
| ValueAsString | Gets or sets the value as a string. (Inherited from ScalarDataValue.) |
Events
| Name | Description | |
|---|---|---|
| PropertyChanged | Occurs when a property value changes. (Inherited from DataResource.) |