MvKeyValueTable Class |
Namespace: RW.Server.Component
The MvKeyValueTable type exposes the following members.
Name | Description | |
---|---|---|
MvKeyValueTable |
Initializes a new empty table.
| |
MvKeyValueTable(IListObject) |
Initializes a new MvKeyValueTable instance from a
list.
| |
MvKeyValueTable(MvKeyValueTable) |
Copy constructor.
| |
MvKeyValueTable(IDictionaryMvValue, MvValue) |
Initializes a new MvKeyValueTable instance from a
dictionary.
|
Name | Description | |
---|---|---|
Count |
Gets the number of key-value mappings in this table.
| |
Empty |
Gets a value indicating if this table contains key-value
mappings.
| |
Item |
Gets or sets the value associated with the specified key.
| |
Keys |
Gets the collection holding the keys contained in this table.
| |
Values |
Returns the collection holding the values contained in this
table.
|
Name | Description | |
---|---|---|
AsBoolean |
Converts to a Boolean value.
(Inherited from MvUserType.) | |
AsChar |
Converts to a char value.
(Inherited from MvUserType.) | |
AsDouble |
Converts to a double value.
(Inherited from MvUserType.) | |
AsFloat |
Converts to a float value.
(Inherited from MvUserType.) | |
AsHRef |
Converts to an HRef value.
(Inherited from MvUserType.) | |
AsLong |
Converts to a long value.
(Inherited from MvUserType.) | |
AsRef |
Converts to a MvRef value.
(Inherited from MvUserType.) | |
AsString |
Converts to a string value.
(Inherited from MvUserType.) | |
AsValue |
Converts to another MvUserType value.
(Inherited from MvUserType.) | |
Clear |
Removes all mappings from this table.
| |
Clone |
Creates a new MvUserType that is a copy of the
current instance.
(Inherited from MvUserType.) | |
ContainsKey |
Gets a value indicating if this table contains a mapping for the
specified key.
| |
ContainsValue |
Gets a value indicating if this table maps one or more keys to
the specified value.
| |
Encode |
Writes an instance into an MvMessage for transfer
to another process.
(Overrides MvUserTypeEncode(MvMessage).) | |
Equals |
Compares the specified object with this table.
(Overrides MvUserTypeEquals(Object).) | |
GetHashCode |
Returns the hash code value for this table.
(Overrides MvUserTypeGetHashCode.) |
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.