Value Methods

The Value type exposes the following members.

Methods

 

Name

Description

Value Methods 1:

add

Adds a Value to the end of the vector.

Value Methods 2:

Add(KeyValuePair.String, Value.)

Adds a KeyValuePair.TKey, TValue. to the Value.

Value Methods 3:

Add(Value)

Adds a Value to the Value.

Value Methods 4:

Add(String, Value)

Adds a Value with the specified key to the Value.

Value Methods 5:

clear

Removes all Values from the map or vector.

Value Methods 6:

Clear

Removes all Values from the Value.

Value Methods 7:

Contains(KeyValuePair.String, Value.)

Determines whether the Value contains the specified KeyValuePair.TKey, TValue..

Value Methods 8:

Contains(Value)

Determines whether the Value contains the specified Value.

Value Methods 9:

ContainsKey

Determines whether the Value contains a Value with the specified key.

Value Methods 10:

convert

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

Value Methods 11:

CopyTo(.KeyValuePair.String, Value.., Int32)

Copies the KeyValuePair.TKey, TValue.s of the Value to an Array starting at the specified Array index.

Value Methods 12:

CopyTo(.Value., Int32)

Copies the Values of the Value to an Array starting at the specified Array index.

Value Methods 13:

Dispose.

(Inherited from IObject.)

Value Methods 14:

Dispose(Boolean)

(Overrides IObject.Dispose(Boolean).)

Value Methods 15:

Equals(Object)

Determines whether the specified object is equal to the current object. (Inherited from Object.)

Value Methods 16:

Equals(Value)

Indicates whether the current Value is equal to another Value.

Value Methods 17:

Finalize

(Inherited from IObject.)

Value Methods 18:

find(String)

Finds a Value with the specified key in the map.

Value Methods 19:

find(UInt32)

Finds a Value with the specified index in the vector.

Value Methods 20:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

Value Methods 21:

GetType

Gets the Type of the current instance. (Inherited from Object.)

Value Methods 22:

GetTypeCode

Gets the TypeCode for this Value.

Value Methods 23:

IndexOf

Determines the index of the specific Value in the Value.

Value Methods 24:

insert(String, String)

Inserts a String with the specified key in the map.

Value Methods 25:

insert(String, Value)

Inserts a Value with the specified key in the map.

Value Methods 26:

insert(ValueVectorIterator, Value)

Inserts a Value at the specified position in the vector.

Value Methods 27:

Insert

Inserts a Value to the Value at the specified index.

Value Methods 28:

insert_or_update(String, String)

Inserts or updates a String with the specified key in the map.

Value Methods 29:

insert_or_update(String, Value)

Inserts or updates a Value with the specified key in the map.

Value Methods 30:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Value Methods 31:

remove(UInt32)

Removes a Value at the specified index from the vector.

Value Methods 32:

remove(ValueIterator)

Removes a Value at the specified position from the map.

Value Methods 33:

remove(ValueVectorIterator)

Removes a Value at the specified position from the vector.

Value Methods 34:

remove(UInt32, UInt32)

Removes a range of Values from the vector.

Value Methods 35:

Remove(KeyValuePair.String, Value.)

Removes the first occurrence of the specified KeyValuePair.TKey, TValue. from the Value.

Value Methods 36:

Remove(String)

Removes the Value with the specified key from the Value.

Value Methods 37:

Remove(Value)

Removes the first occurrence of the specified Value from the Value.

Value Methods 38:

RemoveAt

Removes the Value at the specified index of the Value.

Value Methods 39:

RemoveRange

Removes a range of Values from the Value.

Value Methods 40:

reserve

Reserves memory for a number of Values to reduce memory allocations.

Value Methods 41:

set(Access)

Sets the Value to the specified Access.

Value Methods 42:

set(Alarm)

Sets the Value to the specified instance of the Alarm class.

Value Methods 43:

set(Binary)

Sets the Value to the specified instance of the Binary class.

Value Methods 44:

set(Boolean)

Sets the Value to the specified boolean value.

Value Methods 45:

set(Double)

Sets the Value to the specified double-precision floating-point number.

Value Methods 46:

set(Event)

Sets the Value to the specified instance of the Event class.

Value Methods 47:

set(Int32)

Sets the Value to the specified integer.

Value Methods 48:

set(Int64)

Sets the Value to the specified long integer.

Value Methods 49:

set(Message)

Sets the Value to the specified instance of the Message class.

Value Methods 50:

set(Severity)

Sets the Value to the specified Severity.

Value Methods 51:

set(String)

Sets the Value to the specified string.

Value Methods 52:

set(Timespan)

Sets the Value to the specified instance of the Timespan class.

Value Methods 53:

set(Timestamp)

Sets the Value to the specified instance of the Timestamp class.

Value Methods 54:

set(ValueType)

Sets the Value to the specified ValueType.

Value Methods 55:

swap

Exchanges the values of two instances of the Value class.

Value Methods 56:

ToBoolean

Converts the Value to an equivalent Boolean value using the specified IFormatProvider.

Value Methods 57:

ToByte

Converts the Value to an equivalent Byte using the specified IFormatProvider.

Value Methods 58:

ToChar

Converts the Value to an equivalent Char using the specified IFormatProvider.

Value Methods 59:

ToDateTime

Converts the Value to an equivalent DateTime using the specified IFormatProvider.

Value Methods 60:

ToDecimal

Converts the Value to an equivalent Decimal value using the specified IFormatProvider.

Value Methods 61:

ToDouble

Converts the Value to an equivalent Double-precision floating-point number using the specified IFormatProvider.

Value Methods 62:

ToInt16

Converts the Value to an equivalent Int16 integer using the specified IFormatProvider.

Value Methods 63:

ToInt32

Converts the Value to an equivalent Int32 using the specified IFormatProvider.

Value Methods 64:

ToInt64

Converts the Value to an equivalent Int64 integer using the specified IFormatProvider.

Value Methods 65:

ToSByte

Converts the Value to an equivalent SByte using the specified IFormatProvider.

Value Methods 66:

ToSingle

Converts the Value to an equivalent Single-precision floating-point number using the specified IFormatProvider.

Value Methods 67:

ToString.

Returns a string that represents the current object. (Inherited from Object.)

Value Methods 68:

ToString(IFormatProvider)

Converts the Value to an equivalent String using the specified IFormatProvider.

Value Methods 69:

ToType

Converts the Value to an equivalent Object of the specified Type using the specified IFormatProvider.

Value Methods 70:

ToUInt16

Converts the Value to an equivalent UInt16 integer using the specified IFormatProvider.

Value Methods 71:

ToUInt32

Converts the Value to an equivalent UInt32 using the specified IFormatProvider.

Value Methods 72:

ToUInt64

Converts the Value to an equivalent UInt64 integer using the specified IFormatProvider.

Value Methods 73:

TryGetValue

Gets the Value associated with the specified key.

Reference

Value Class

TcHmiSrv Namespace