IDictionaryObject Interface |
Namespace: Couchbase.Lite
public interface IDictionaryObject : IReadOnlyDictionary, IReadOnlyDictionaryFragment, IEnumerable<KeyValuePair<string, Object>>, IEnumerable, IDictionaryFragment
The IDictionaryObject type exposes the following members.
Name | Description | |
---|---|---|
Count |
Gets the number of entries in the dictionary
(Inherited from IReadOnlyDictionary.) | |
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 IReadOnlyDictionary.) |
Name | Description | |
---|---|---|
Contains |
Checks if a given key is present in the dictionary
(Inherited from IReadOnlyDictionary.) | |
GetArray |
Gets the value of a given key as an IArray | |
GetBlob |
Gets the value of a given key as a Blob (Inherited from IReadOnlyDictionary.) | |
GetBoolean |
Gets the value of a given key as a Boolean (Inherited from IReadOnlyDictionary.) | |
GetDate |
Gets the value of a given key as a DateTimeOffset (Inherited from IReadOnlyDictionary.) | |
GetDictionary |
Gets the value of a given key as a dictionary
| |
GetDouble |
Gets the value of a given key as a Double (Inherited from IReadOnlyDictionary.) | |
GetEnumerator | Returns an enumerator that iterates through the collection. (Inherited from IEnumerableKeyValuePairString, Object.) | |
GetFloat |
Gets the value of a given key as a Single (Inherited from IReadOnlyDictionary.) | |
GetInt |
Gets the value of a given key as an Int32 (Inherited from IReadOnlyDictionary.) | |
GetLong |
Gets the value of a given key as an Int64 (Inherited from IReadOnlyDictionary.) | |
GetObject |
Gets the value of a given key as an untyped object
(Inherited from IReadOnlyDictionary.) | |
GetString |
Gets the value of a given key as a String (Inherited from IReadOnlyDictionary.) | |
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, ArrayObject) |
Sets the given key to the given value
| |
Set(String, Blob) |
Sets the given key to the given value
| |
Set(String, DictionaryObject) |
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
IDictionaryTKey, TValue (Inherited from IReadOnlyDictionary.) |