Value Methods
The Value type exposes the following members.
Methods
|
Name |
Description |
---|---|---|
|
Adds a Value to the end of the vector. | |
|
Adds a KeyValuePair.TKey, TValue. to the Value. | |
| ||
| ||
|
Removes all Values from the map or vector. | |
| ||
|
Determines whether the Value contains the specified KeyValuePair.TKey, TValue.. | |
| ||
|
Determines whether the Value contains a Value with the specified key. | |
|
Tries to convert the Value to another ValueType. If conversion fails, the Value will remain unchanged. Available conversions are: - int to double - double to int if there are no fractional digits - string containing number to double or int - string containing "true" or "false" to boolean - string in ISO-8601 to timestamp - string in base64 to binary - string in base64 containing 64 bit integer to int64 - struct to alarm - struct to message - struct to event - map to vector - struct to vector | |
|
Copies the KeyValuePair.TKey, TValue.s of the Value to an Array starting at the specified Array index. | |
|
Copies the Values of the Value to an Array starting at the specified Array index. | |
|
(Inherited from IObject.) | |
|
(Overrides IObject.Dispose(Boolean).) | |
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Indicates whether the current Value is equal to another Value. | |
|
(Inherited from IObject.) | |
|
Finds a Value with the specified key in the map. | |
|
Finds a Value with the specified index in the vector. | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
| ||
| ||
|
Inserts a String with the specified key in the map. | |
|
Inserts a Value with the specified key in the map. | |
|
Inserts a Value at the specified position in the vector. | |
| ||
|
Inserts or updates a String with the specified key in the map. | |
|
Inserts or updates a Value with the specified key in the map. | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Removes a Value at the specified index from the vector. | |
|
Removes a Value at the specified position from the map. | |
|
Removes a Value at the specified position from the vector. | |
|
Removes a range of Values from the vector. | |
|
Removes the first occurrence of the specified KeyValuePair.TKey, TValue. from the Value. | |
| ||
|
Removes the first occurrence of the specified Value from the Value. | |
| ||
| ||
|
Reserves memory for a number of Values to reduce memory allocations. | |
| ||
|
Sets the Value to the specified instance of the Alarm class. | |
|
Sets the Value to the specified instance of the Binary class. | |
|
Sets the Value to the specified boolean value. | |
|
Sets the Value to the specified double-precision floating-point number. | |
|
Sets the Value to the specified instance of the Event class. | |
|
Sets the Value to the specified integer. | |
|
Sets the Value to the specified long integer. | |
|
Sets the Value to the specified instance of the Message class. | |
| ||
|
Sets the Value to the specified string. | |
|
Sets the Value to the specified instance of the Timespan class. | |
|
Sets the Value to the specified instance of the Timestamp class. | |
| ||
|
Exchanges the values of two instances of the Value class. | |
|
Converts the Value to an equivalent Boolean value using the specified IFormatProvider. | |
|
Converts the Value to an equivalent Byte using the specified IFormatProvider. | |
|
Converts the Value to an equivalent Char using the specified IFormatProvider. | |
|
Converts the Value to an equivalent DateTime using the specified IFormatProvider. | |
|
Converts the Value to an equivalent Decimal value using the specified IFormatProvider. | |
|
Converts the Value to an equivalent Double-precision floating-point number using the specified IFormatProvider. | |
|
Converts the Value to an equivalent Int16 integer using the specified IFormatProvider. | |
|
Converts the Value to an equivalent Int32 using the specified IFormatProvider. | |
|
Converts the Value to an equivalent Int64 integer using the specified IFormatProvider. | |
|
Converts the Value to an equivalent SByte using the specified IFormatProvider. | |
|
Converts the Value to an equivalent Single-precision floating-point number using the specified IFormatProvider. | |
|
Returns a string that represents the current object. (Inherited from Object.) | |
|
Converts the Value to an equivalent String using the specified IFormatProvider. | |
|
Converts the Value to an equivalent Object of the specified Type using the specified IFormatProvider. | |
|
Converts the Value to an equivalent UInt16 integer using the specified IFormatProvider. | |
|
Converts the Value to an equivalent UInt32 using the specified IFormatProvider. | |
|
Converts the Value to an equivalent UInt64 integer using the specified IFormatProvider. | |
|
Gets the Value associated with the specified key. |
- Value.add Method
- Value.clear Method
- Value.convert Method
- Value.Dispose Method
- Value.Equals Method
- Value.find Method
- Value.GetHashCode Method
- Value.insert Method
- Value.insert_or_update Method
- Value.remove Method
- Value.reserve Method
- Value.set Method
- Value.swap Method
- Value.Add Method
- Value.Clear Method
- Value.Contains Method
- Value.ContainsKey Method
- Value.CopyTo Method
- Value.GetTypeCode Method
- Value.IndexOf Method
- Value.Insert Method
- Value.Remove Method
- Value.RemoveAt Method
- Value.RemoveRange Method
- Value.ToBoolean Method
- Value.ToByte Method
- Value.ToChar Method
- Value.ToDateTime Method
- Value.ToDecimal Method
- Value.ToDouble Method
- Value.ToInt16 Method
- Value.ToInt32 Method
- Value.ToInt64 Method
- Value.ToSByte Method
- Value.ToSingle Method
- Value.ToString Method
- Value.ToType Method
- Value.ToUInt16 Method
- Value.ToUInt32 Method
- Value.ToUInt64 Method
- Value.TryGetValue Method