Value Methods

The Value type exposes the following members.

Methods

 

Name

Description

Value Methods 1:

Add(KeyValuePairString, Value)

Adds a KeyValuePairTKey, TValue to the Value.

Value Methods 2:

Add(Value)

Adds the specified Value to the Value.

Value Methods 3:

Add(String, Value)

Adds a Value with the specified key to the Value.

Value Methods 4:

AddOrUpdate

Adds a Value with the specified key to the Value if the key does not already exist, or updates a Value in the Value if the key already exists.

Value Methods 5:

AddRange

Adds the specified Values to the end of the Value.

Value Methods 6:

ChangeType

Changes the Type of this Value to the specified ValueType and adjusts the containing data.

Value Methods 7:

Clear

Removes all Values from the Value.

Value Methods 8:

CompareTo(Access)

Compares the current Value with another Access and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Access.

Value Methods 9:

CompareTo(Alarm)

Compares the current Value with another Alarm and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Alarm.

Value Methods 10:

CompareTo(Boolean)

Compares the current Value with another Boolean value and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Boolean value.

Value Methods 11:

CompareTo(Byte)

Compares the current Value with another Byte and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Byte.

Value Methods 12:

CompareTo(Byte)

Compares the current Value with other Bytes and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Bytes.

Value Methods 13:

CompareTo(Char)

Compares the current Value with another Char and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Char.

Value Methods 14:

CompareTo(DateTime)

Compares the current Value with another DateTime and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other DateTime.

Value Methods 15:

CompareTo(Decimal)

Compares the current Value with another Decimal value and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Decimal value.

Value Methods 16:

CompareTo(Double)

Compares the current Value with another Double-precision floating-point number and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Double-precision floating-point number.

Value Methods 17:

CompareTo(Event)

Compares the current Value with another Event and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Event.

Value Methods 18:

CompareTo(Int16)

Compares the current Value with another Int16 and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Int16.

Value Methods 19:

CompareTo(Int32)

Compares the current Value with another Int32 and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Int32.

Value Methods 20:

CompareTo(Int64)

Compares the current Value with another Int64 and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Int64.

Value Methods 21:

CompareTo(Message)

Compares the current Value with another Message and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Message.

Value Methods 22:

CompareTo(SByte)

Compares the current Value with another SByte and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other SByte.

Value Methods 23:

CompareTo(Severity)

Compares the current Value with another Severity and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Severity.

Value Methods 24:

CompareTo(Single)

Compares the current Value with another Single-precision floating-point number and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Single-precision floating-point number.

Value Methods 25:

CompareTo(String)

Compares the current Value with another String and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other String.

Value Methods 26:

CompareTo(TimeSpan)

Compares the current Value with another TimeSpan and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other TimeSpan.

Value Methods 27:

CompareTo(UInt16)

Compares the current Value with another UInt16 and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other UInt16.

Value Methods 28:

CompareTo(UInt32)

Compares the current Value with another UInt32 and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other UInt32.

Value Methods 29:

CompareTo(UInt64)

Compares the current Value with another UInt64 and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other UInt64.

Value Methods 30:

CompareTo(Value)

Compares the current Value with another Value and returns an integer that indicates whether the current Value precedes, follows, or occurs in the same position in the sort order as the other Value.

Value Methods 31:

Contains(KeyValuePairString, Value)

Determines whether the Value contains the specified KeyValuePairTKey, TValue.

Value Methods 32:

Contains(Value)

Determines whether the Value contains the specified Value.

Value Methods 33:

ContainsKey

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

Value Methods 34:

CopyTo(KeyValuePairString, Value, Int32)

Copies the KeyValuePairTKey, TValues of the Value to the specified Array, starting at the specified index.

Value Methods 35:

CopyTo(Value, Int32)

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

Value Methods 36:

DeepCopy

Creates a new object that is a deep copy of the current Value.

Value Methods 37:

Equals(Access)

Indicates whether the current Value is equal to another Access.

Value Methods 38:

Equals(Alarm)

Indicates whether the current Value is equal to another Alarm.

Value Methods 39:

Equals(Boolean)

Indicates whether the current Value is equal to another Boolean value.

Value Methods 40:

Equals(Byte)

Indicates whether the current Value is equal to another Byte.

Value Methods 41:

Equals(Byte)

Indicates whether the current Value is equal to another Array of Byte s.

Value Methods 42:

Equals(Char)

Indicates whether the current Value is equal to another Char.

Value Methods 43:

Equals(DateTime)

Indicates whether the current Value is equal to another DateTime.

Value Methods 44:

Equals(Decimal)

Indicates whether the current Value is equal to another Decimal value.

Value Methods 45:

Equals(Double)

Indicates whether the current Value is equal to another Double-precision floating-point number.

Value Methods 46:

Equals(Event)

Indicates whether the current Value is equal to another Event.

Value Methods 47:

Equals(Int16)

Indicates whether the current Value is equal to another Int16.

Value Methods 48:

Equals(Int32)

Indicates whether the current Value is equal to another Int32.

Value Methods 49:

Equals(Int64)

Indicates whether the current Value is equal to another Int64.

Value Methods 50:

Equals(Message)

Indicates whether the current Value is equal to another Message.

Value Methods 51:

Equals(Object)

Determines whether the specified Object is equal to the current Value.
(Overrides ObjectEquals(Object))

Value Methods 52:

Equals(SByte)

Indicates whether the current Value is equal to another SByte.

Value Methods 53:

Equals(Severity)

Indicates whether the current Value is equal to another Severity.

Value Methods 54:

Equals(Single)

Indicates whether the current Value is equal to another Single-precision floating-point number.

Value Methods 55:

Equals(String)

Indicates whether the current Value is equal to another String.

Value Methods 56:

Equals(TimeSpan)

Indicates whether the current Value is equal to another TimeSpan.

Value Methods 57:

Equals(UInt16)

Indicates whether the current Value is equal to another UInt16.

Value Methods 58:

Equals(UInt32)

Indicates whether the current Value is equal to another UInt32.

Value Methods 59:

Equals(UInt64)

Indicates whether the current Value is equal to another UInt64.

Value Methods 60:

Equals(Value)

Indicates whether the current Value is equal to another Value.

Value Methods 61:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)

Value Methods 62:

Value Methods 63:

FromAccess

Converts an instance of the Value class to the appropriate Access.

Value Methods 64:

Value Methods 65:

FromAlarm

Converts an Alarm to the appropriate instance of the Value class.

Value Methods 66:

Value Methods 67:

FromBoolean

Converts a Boolean value to the appropriate instance of the Value class.

Value Methods 68:

Value Methods 69:

FromByte

Converts an Byte to the appropriate instance of the Value class.

Value Methods 70:

Value Methods 71:

FromBytes

Converts an array of Bytes to the appropriate instance of the Value class.

Value Methods 72:

Value Methods 73:

FromChar

Converts a Char to the appropriate instance of the Value class.

Value Methods 74:

Value Methods 75:

FromDateTime

Converts an instance of the DateTime class to the appropriate instance of the Value class.

Value Methods 76:

Value Methods 77:

FromDecimal

Converts a Decimal value to the appropriate instance of the Value class.

Value Methods 78:

Value Methods 79:

FromDouble

Converts a Double-precision floating-point number to the appropriate instance of the Value class.

Value Methods 80:

Value Methods 81:

FromEvent

Converts an Event to the appropriate instance of the Value class.

Value Methods 82:

Value Methods 83:

FromInt16

Converts an Int16 to the appropriate instance of the Value class.

Value Methods 84:

Value Methods 85:

FromInt32

Converts an Int32 to the appropriate instance of the Value class.

Value Methods 86:

Value Methods 87:

FromInt64

Converts a Int64 to the appropriate instance of the Value class.

Value Methods 88:

Value Methods 89:

FromMessage

Converts an Message to the appropriate instance of the Value class.

Value Methods 90:

Value Methods 91:

FromSByte

Converts an SByte to the appropriate instance of the Value class.

Value Methods 92:

Value Methods 93:

FromSeverity

Converts a Severity to the appropriate instance of the Value class.

Value Methods 94:

Value Methods 95:

FromSingle

Converts a Single-precision floating-point number to the appropriate instance of the Value class.

Value Methods 96:

Value Methods 97:

FromString

Converts a String to the appropriate instance of the Value class.

Value Methods 98:

Value Methods 99:

FromTimeSpan

Converts an instance of the TimeSpan class to the appropriate instance of the Value class.

Value Methods 100:

Value Methods 101:

FromUInt16

Converts an UInt16 to the appropriate instance of the Value class.

Value Methods 102:

Value Methods 103:

FromUInt32

Converts an UInt32 to the appropriate instance of the Value class.

Value Methods 104:

Value Methods 105:

FromUInt64

Converts a UInt64 to the appropriate instance of the Value class.

Value Methods 106:

GetAccess

Gets the Access of the Value.

Value Methods 107:

GetAlarm

Gets the Alarm of the Value.

Value Methods 108:

GetBool

Gets the Boolean value of the Value.

Value Methods 109:

GetBool(IFormatProvider)

Gets the Boolean value of the Value, using the specified culture-specific formatting information.

Value Methods 110:

GetByte

Gets the Byte of the Value.

Value Methods 111:

GetBytes

Gets the Bytes of the Value.

Value Methods 112:

GetChar

Gets the Char of the Value.

Value Methods 113:

GetDateTime

Gets the DateTime of the Value.

Value Methods 114:

GetDateTime(IFormatProvider)

Gets the DateTime of the Value, using the specified culture-specific formatting information.

Value Methods 115:

GetDecimal

Gets the Decimal value of the Value.

Value Methods 116:

GetDouble

Gets the Double-precision floating-point number of the Value.

Value Methods 117:

GetDouble(IFormatProvider)

Gets the Double-precision floating-point number of the Value, using the specified culture-specific formatting information.

Value Methods 118:

GetEvent

Gets the Event of the Value.

Value Methods 119:

GetHashCode

Serves as the default hash function.
(Overrides ObjectGetHashCode)

Value Methods 120:

GetInt16

Gets the Int16 integer of the Value.

Value Methods 121:

GetInt32

Gets the Int32 of the Value.

Value Methods 122:

GetInt32(IFormatProvider)

Gets the Int32 of the Value, using the specified culture-specific formatting information.

Value Methods 123:

GetInt64

Gets the Int64 integer of the Value.

Value Methods 124:

GetInt64(IFormatProvider)

Gets the Int64 integer of the Value, using the specified culture-specific formatting information.

Value Methods 125:

GetMessage

Gets the Message of the Value.

Value Methods 126:

GetSByte

Gets the SByte of the Value.

Value Methods 127:

GetSeverity

Gets the Severity of the Value.

Value Methods 128:

GetSingle

Gets the Single-precision floating-point number of the Value.

Value Methods 129:

GetString

Gets the String of the Value.

Value Methods 130:

GetString(IFormatProvider)

Gets the String of the Value, using the specified culture-specific formatting information.

Value Methods 131:

GetTimeSpan

Gets the TimeSpan of the Value.

Value Methods 132:

GetTimeSpan(IFormatProvider)

Gets the TimeSpan of the Value, using the specified culture-specific formatting information.

Value Methods 133:

GetType

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

Value Methods 134:

GetTypeCode

Gets the TypeCode for this Value.

Value Methods 135:

GetUInt16

Gets the UInt16 integer of the Value.

Value Methods 136:

GetUInt32

Gets the UInt32 of the Value.

Value Methods 137:

GetUInt64

Gets the UInt64 integer of the Value.

Value Methods 138:

GetUInt64(IFormatProvider)

Gets the UInt64 integer of the Value, using the specified culture-specific formatting information.

Value Methods 139:

IndexOf

Determines the index of the specified Value in the Value.

Value Methods 140:

Insert

Inserts a Value to the Value at the specified index.

Value Methods 141:

MemberwiseClone

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

Value Methods 142:

Remove(KeyValuePairString, Value)

Removes the first occurrence of the specified KeyValuePairTKey, TValue from the Value.

Value Methods 143:

Remove(String)

Removes the Value with the specified key from the Value.

Value Methods 144:

Remove(Value)

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

Value Methods 145:

RemoveAt

Removes the Value at the specified index.

Value Methods 146:

RemoveRange

Removes a range of Values from the Value.

Value Methods 147:

SetValue(Access)

Sets the Access of the Value.

Value Methods 148:

SetValue(Alarm)

Sets the Alarm of the Value.

Value Methods 149:

SetValue(Boolean)

Sets the Boolean value of the Value.

Value Methods 150:

SetValue(Byte)

Sets the Byte of the Value.

Value Methods 151:

SetValue(Byte)

Sets the Bytes of the Value.

Value Methods 152:

SetValue(Char)

Sets the Char of the Value.

Value Methods 153:

SetValue(DateTime)

Sets the DateTime of the Value.

Value Methods 154:

SetValue(Decimal)

Sets the Decimal value of the Value.

Value Methods 155:

SetValue(Double)

Sets the Double-precision floating-point number of the Value.

Value Methods 156:

SetValue(Event)

Sets the Event of the Value.

Value Methods 157:

SetValue(Int16)

Sets the Int16 integer of the Value.

Value Methods 158:

SetValue(Int32)

Sets the Int32 of the Value.

Value Methods 159:

SetValue(Int64)

Sets the Int64 integer of the Value.

Value Methods 160:

SetValue(Message)

Sets the Message of the Value.

Value Methods 161:

SetValue(SByte)

Sets the SByte of the Value.

Value Methods 162:

SetValue(Severity)

Sets the Severity of the Value.

Value Methods 163:

SetValue(Single)

Sets the Single-precision floating-point number of the Value.

Value Methods 164:

SetValue(String)

Sets the String of the Value.

Value Methods 165:

SetValue(TimeSpan)

Sets the TimeSpan of the Value.

Value Methods 166:

SetValue(UInt16)

Sets the UInt16 integer of the Value.

Value Methods 167:

SetValue(UInt32)

Sets the UInt32 of the Value.

Value Methods 168:

SetValue(UInt64)

Sets the UInt64 integer of the Value.

Value Methods 169:

ShallowCopy

Creates a new Value that is a shallow copy of the current Value.

Value Methods 170:

ToAccess

Converts this instance of the Value class to the appropriate Access.

Value Methods 171:

ToAlarm

Converts this instance of the Value class to the appropriate Alarm.

Value Methods 172:

ToArray

Converts this instance of the Value class to the appropriate Array.

Value Methods 173:

ToBoolean

Converts this instance of the Value class to the appropriate Boolean.

Value Methods 174:

ToBoolean(IFormatProvider)

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

Value Methods 175:

ToByte

Converts this instance of the Value class to the appropriate Byte.

Value Methods 176:

ToByte(IFormatProvider)

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

Value Methods 177:

ToBytes

Converts this instance of the Value class to the appropriate array of Bytes.

Value Methods 178:

ToChar

Converts this instance of the Value class to the appropriate Char.

Value Methods 179:

ToChar(IFormatProvider)

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

Value Methods 180:

ToDateTime

Converts this instance of the Value class to the appropriate instance of the DateTime class.

Value Methods 181:

ToDateTime(IFormatProvider)

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

Value Methods 182:

ToDecimal

Converts this instance of the Value class to the appropriate Decimal.

Value Methods 183:

ToDecimal(IFormatProvider)

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

Value Methods 184:

ToDouble

Converts this instance of the Value class to the appropriate Double-precision floating-point number.

Value Methods 185:

ToDouble(IFormatProvider)

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

Value Methods 186:

ToEvent

Converts this instance of the Value class to the appropriate Event.

Value Methods 187:

ToInt16

Converts this instance of the Value class to the appropriate Int16.

Value Methods 188:

ToInt16(IFormatProvider)

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

Value Methods 189:

ToInt32

Converts this instance of the Value class to the appropriate Int32.

Value Methods 190:

ToInt32(IFormatProvider)

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

Value Methods 191:

ToInt64

Converts this instance of the Value class to the appropriate Int64.

Value Methods 192:

ToInt64(IFormatProvider)

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

Value Methods 193:

ToMessage

Converts this instance of the Value class to the appropriate Message.

Value Methods 194:

ToSByte

Converts this instance of the Value class to the appropriate SByte.

Value Methods 195:

ToSByte(IFormatProvider)

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

Value Methods 196:

ToSeverity

Converts this instance of the Value class to the appropriate Severity.

Value Methods 197:

ToSingle

Converts this instance of the Value class to the appropriate Single-precision floating-point number.

Value Methods 198:

ToSingle(IFormatProvider)

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

Value Methods 199:

ToString

Returns a String that represents the current Value.
(Overrides ObjectToString)

Value Methods 200:

ToString(IFormatProvider)

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

Value Methods 201:

ToTimeSpan

Converts this instance of the Value class to the appropriate instance of the TimeSpan class.

Value Methods 202:

ToType

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

Value Methods 203:

ToUInt16

Converts this instance of the Value class to the appropriate UInt16.

Value Methods 204:

ToUInt16(IFormatProvider)

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

Value Methods 205:

ToUInt32

Converts this instance of the Value class to the appropriate UInt32.

Value Methods 206:

ToUInt32(IFormatProvider)

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

Value Methods 207:

ToUInt64

Converts this instance of the Value class to the appropriate UInt64.

Value Methods 208:

ToUInt64(IFormatProvider)

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

Value Methods 209:

ToValue

Returns the current Value.

Value Methods 210:

TryGetValue

Gets the Value associated with the specified key.

Extension Methods

 

Name

Description

Value Methods 211:

OrderBy

Sorts the Values of a sequence according to the specified String.
When using this method to order and assign the result to a ReadValue, also add PagingHandled to the Options of the same Command to inform the TwinCAT HMI server that sorting was handled by the TwinCAT HMI server extension and must not be handled again by the TwinCAT HMI server.
(Defined by ValueExtensions)

Value Methods 212:

ResolveBy

Resolves the current Value by the specified QueueT of elements.
(Defined by ValueExtensions)

Value Methods 213:

ResolveBy

Resolves the current Value by the specified path.
(Defined by ValueExtensions)

Value Methods 214:

ToJson

Returns an unformatted JSON String that represents the current Value.
(Defined by ValueExtensions)

Value Methods 215:

ToJson

Returns an unformatted JSON String that represents the current Value.
(Defined by ValueExtensions)

Value Methods 216:

ToJson

Returns a JSON String that represents the current Value.
(Defined by ValueExtensions)

Value Methods 217:

ToJsonValue

Returns a JsonValue that contains an unformatted JSON String representing the current Value.
(Defined by ValueExtensions)

Value Methods 218:

TryResolveBy

Resolves the current Value by the specified QueueT of elements. A return value indicates whether resolving succeeded.
(Defined by ValueExtensions)

Value Methods 219:

TryResolveBy

Resolves the current Value by the specified QueueT of elements. A return value indicates whether resolving succeeded.
(Defined by ValueExtensions)

Value Methods 220:

Where

Filters a sequence of Values based on a Value that contains filters.
When using this method to filter and assign the result to a ReadValue, also add PagingHandled to the Options of the same Command to inform the TwinCAT HMI server that filtering was handled by the TwinCAT HMI server extension and must not be handled again by the TwinCAT HMI server.
(Defined by ValueExtensions)

Value Methods 221:

Where

Filters a sequence of Values based on a Value that contains filters.
When using this method to filter and assign the result to a ReadValue, also add PagingHandled to the Options of the same Command to inform the TwinCAT HMI server that filtering was handled by the TwinCAT HMI server extension and must not be handled again by the TwinCAT HMI server.
(Defined by ValueExtensions)

Reference

Value Class TcHmiSrv.Core Namespace

Copyright © Beckhoff Automation GmbH & Co. KG