MutableDictionary Class |
Namespace: Couchbase.Lite
public sealed class MutableDictionary : DictionaryObject, IMutableDictionary, IDictionaryObject, IDictionaryFragment, IReadOnlyCollection<KeyValuePair<string, Object>>, IEnumerable<KeyValuePair<string, Object>>, IEnumerable, IMutableDictionaryFragment
The MutableDictionary type exposes the following members.
| Name | Description | |
|---|---|---|
| MutableDictionary |
Default Constructor
| |
| MutableDictionary(IDictionaryString, Object) |
Creates a dictionary given the initial set of keys and values
from an existing dictionary
|
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements in the collection. (Inherited from DictionaryObject.) | |
| Item |
Gets the value of the given key, or lack thereof,
wrapped inside of a Fragment | |
| Keys |
Gets all the keys held by this dictionary
(Inherited from DictionaryObject.) |
| Name | Description | |
|---|---|---|
| Contains |
Checks if a given key is present in the dictionary
(Inherited from DictionaryObject.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetArray |
Gets the value of a given key as an IMutableArray | |
| GetBlob |
Gets the value of a given key as a Blob (Inherited from DictionaryObject.) | |
| GetBoolean |
Gets the value of a given key as a Boolean (Inherited from DictionaryObject.) | |
| GetDate |
Gets the value of a given key as a DateTimeOffset (Inherited from DictionaryObject.) | |
| GetDictionary |
Gets the value of a given key as a dictionary
| |
| GetDouble |
Gets the value of a given key as a Double (Inherited from DictionaryObject.) | |
| GetEnumerator |
Returns an enumerator that iterates through the collection.
(Inherited from DictionaryObject.) | |
| GetFloat |
Gets the value of a given key as a Single (Inherited from DictionaryObject.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetInt |
Gets the value of a given key as an Int32 (Inherited from DictionaryObject.) | |
| GetLong |
Gets the value of a given key as an Int64 (Inherited from DictionaryObject.) | |
| GetObject |
Gets the value of a given key as an untyped object
(Inherited from DictionaryObject.) | |
| GetString |
Gets the value of a given key as a String (Inherited from DictionaryObject.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Remove |
Removes the given key from this dictionary
| |
| Set(IDictionaryString, Object) |
Replaces the contents of this dictionary with the contents of the
given one
| |
| Set(String, Blob) |
Sets the given key to the given value
| |
| Set(String, MutableArray) |
Sets the given key to the given value
| |
| Set(String, MutableDictionary) |
Sets the given key to the given value
| |
| Set(String, Boolean) |
Sets the given key to the given value
| |
| Set(String, DateTimeOffset) |
Sets the given key to the given value
| |
| Set(String, Double) |
Sets the given key to the given value
| |
| Set(String, Int32) |
Sets the given key to the given value
| |
| Set(String, Int64) |
Sets the given key to the given value
| |
| Set(String, Object) |
Sets the given key to the given value
| |
| Set(String, Single) |
Sets the given key to the given value
| |
| Set(String, String) |
Sets the given key to the given value
| |
| ToDictionary |
Converts this object to a standard .NET string to object
DictionaryTKey, TValue (Inherited from DictionaryObject.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |