DictionaryObject Class |
Namespace: Couchbase.Lite
public class DictionaryObject : IDictionaryObject, IDictionaryFragment, IReadOnlyCollection<KeyValuePair<string, Object>>, IEnumerable<KeyValuePair<string, Object>>, IEnumerable
The DictionaryObject type exposes the following members.
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements in the collection. | |
| Item |
Gets the value of the given key, or lack thereof,
wrapped inside of a IFragment | |
| Keys |
Gets all the keys held by this dictionary
|
| Name | Description | |
|---|---|---|
| Contains |
Checks if a given key is present in the dictionary
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetArray |
Gets the value of a given key as an IArray | |
| GetBlob |
Gets the value of a given key as a Blob | |
| GetBoolean |
Gets the value of a given key as a Boolean | |
| GetDate |
Gets the value of a given key as a DateTimeOffset | |
| GetDictionary |
Gets the value of a given key as a readonly dictionary
| |
| GetDouble |
Gets the value of a given key as a Double | |
| GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
| GetFloat |
Gets the value of a given key as a Single | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetInt |
Gets the value of a given key as an Int32 | |
| GetLong |
Gets the value of a given key as an Int64 | |
| GetString |
Gets the value of a given key as a String | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetValue |
Gets the value of a given key as an untyped object
| |
| KeysChanged |
Signal that the keys of this object have changed (not possible for
this class, but a subclass might)
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToDictionary |
Converts this object to a standard .NET string to object
DictionaryTKey, TValue | |
| ToMutable |
Creates a copy of this object that can be mutated
| |
| 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.) |