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 IMutableFragment | |
| 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.) | |
| 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.) | |
| GetValue |
Gets the value of a given key as an untyped object
(Inherited from DictionaryObject.) | |
| Remove |
Removes the given key from this dictionary
| |
| SetArray |
Sets the given key to the given value
| |
| SetBlob |
Sets the given key to the given value
| |
| SetBoolean |
Sets the given key to the given value
| |
| SetData |
Replaces the contents of this dictionary with the contents of the
given one
| |
| SetDate |
Sets the given key to the given value
| |
| SetDictionary |
Sets the given key to the given value
| |
| SetDouble |
Sets the given key to the given value
| |
| SetFloat |
Sets the given key to the given value
| |
| SetInt |
Sets the given key to the given value
| |
| SetLong |
Sets the given key to the given value
| |
| SetString |
Sets the given key to the given value
| |
| SetValue |
Sets the given key to the given value
| |
| ToDictionary |
Converts this object to a standard .NET string to object
DictionaryTKey, TValue (Inherited from DictionaryObject.) | |
| ToMutable |
Creates a copy of this object that can be mutated
(Inherited from DictionaryObject.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| RecursiveEqual |
Tests for equality between two untyped objects, and if they are collections
recursively checks for equality on each entry.
(Defined by Extensions.) |