Click or drag to resize
MvKeyValueTable Class
Carries out the association between a key and a value, based on the IDictionary interface.
Inheritance Hierarchy

Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 6.3.0.0 (0.8.0.0)
Syntax
public class MvKeyValueTable : MvUserType, 
	IDictionary<MvValue, MvValue>, ICollection<KeyValuePair<MvValue, MvValue>>, 
	IEnumerable<KeyValuePair<MvValue, MvValue>>, IEnumerable

The MvKeyValueTable type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAsBoolean
Converts to a Boolean value.
(Inherited from MvUserType.)
Public methodAsChar
Converts to a char value.
(Inherited from MvUserType.)
Public methodAsDouble
Converts to a double value.
(Inherited from MvUserType.)
Public methodAsFloat
Converts to a float value.
(Inherited from MvUserType.)
Public methodAsHRef
Converts to an HRef value.
(Inherited from MvUserType.)
Public methodAsLong
Converts to a long value.
(Inherited from MvUserType.)
Public methodAsRef
Converts to a MvRef value.
(Inherited from MvUserType.)
Public methodAsString
Converts to a string value.
(Inherited from MvUserType.)
Public methodAsValue
Converts to another MvUserType value.
(Inherited from MvUserType.)
Public methodClear
Removes all mappings from this table.
Public methodClone
Creates a new MvUserType that is a copy of the current instance.
(Inherited from MvUserType.)
Public methodContainsKey
Gets a value indicating if this table contains a mapping for the specified key.
Public methodContainsValue
Gets a value indicating if this table maps one or more keys to the specified value.
Public methodEncode
Writes an instance into an MvMessage for transfer to another process.
(Overrides MvUserTypeEncode(MvMessage).)
Public methodEquals
Compares the specified object with this table.
(Overrides MvUserTypeEquals(Object).)
Public methodGetHashCode
Returns the hash code value for this table.
(Overrides MvUserTypeGetHashCode.)
Top
Properties
  NameDescription
Public propertyCount
Gets the number of key-value mappings in this table.
Public propertyEmpty
Gets a value indicating if this table contains key-value mappings.
Public propertyItem
Gets or sets the value associated with the specified key.
Public propertyKeys
Gets the collection holding the keys contained in this table.
Public propertyValues
Returns the collection holding the values contained in this table.
Top
Remarks

The key and value are MvValue objects, thus allowing the use of this class in a large variety of cases. All instances of subclasses of MvUserType can also be used as keys or values.

This kind of table can be transmitted between Rogue Wave Server processes.

See Also