A key-value string pair for XmlDictionary.
More...
|
string?? | Key [get, set] |
| The unique text key. Warning: If this is changed the XmlDictionary must be rebuilt in order to update its internal hash table. More...
|
|
string | Value = "" [get, set] |
| The text value. More...
|
|
A key-value string pair for XmlDictionary.
◆ XmlDictionaryEntry() [1/2]
NanoByte.Common.Collections.XmlDictionaryEntry.XmlDictionaryEntry |
( |
| ) |
|
|
inline |
Base-constructor for XML serialization. Do not call manually!
◆ XmlDictionaryEntry() [2/2]
NanoByte.Common.Collections.XmlDictionaryEntry.XmlDictionaryEntry |
( |
string |
key, |
|
|
string |
value |
|
) |
| |
|
inline |
Creates a new entry for XmlDictionary.
- Parameters
-
key | The unique text key. |
value | The text value. |
◆ Clone()
Creates a plain copy of this entry.
- Returns
- The cloned entry.
◆ Parent
XmlDictionary? NanoByte.Common.Collections.XmlDictionaryEntry.Parent |
|
package |
The collection that owns this entry - set to enable automatic duplicate detection!
◆ Key
string?? NanoByte.Common.Collections.XmlDictionaryEntry.Key |
|
getset |
The unique text key. Warning: If this is changed the XmlDictionary must be rebuilt in order to update its internal hash table.
- Exceptions
-
InvalidOperationException | The new key value already exists in the Parent dictionary. |
◆ Value
string NanoByte.Common.Collections.XmlDictionaryEntry.Value = "" |
|
getset |
The documentation for this class was generated from the following file:
- Common/Collections/XmlDictionaryEntry.cs