Click or drag to resize

IDictionaryObject Interface

An interface representing a writeable key value collection

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0125
Syntax
C#
public interface IDictionaryObject : IReadOnlyDictionary, 
	IReadOnlyDictionaryFragment, IEnumerable<KeyValuePair<string, Object>>, 
	IEnumerable, IDictionaryFragment

The IDictionaryObject type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of entries in the dictionary
(Inherited from IReadOnlyDictionary.)
Public propertyItem
Gets the value of the given key, or lack thereof, wrapped inside of a Fragment
Public propertyKeys
Gets all the keys held by this dictionary
(Inherited from IReadOnlyDictionary.)
Top
Methods
  NameDescription
Public methodContains
Checks if a given key is present in the dictionary
(Inherited from IReadOnlyDictionary.)
Public methodGetArray
Gets the value of a given key as an IArray
Public methodGetBlob
Gets the value of a given key as a Blob
(Inherited from IReadOnlyDictionary.)
Public methodGetBoolean
Gets the value of a given key as a Boolean
(Inherited from IReadOnlyDictionary.)
Public methodGetDate
Gets the value of a given key as a DateTimeOffset
(Inherited from IReadOnlyDictionary.)
Public methodGetDictionary
Gets the value of a given key as a dictionary
Public methodGetDouble
Gets the value of a given key as a Double
(Inherited from IReadOnlyDictionary.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableKeyValuePairString, Object.)
Public methodGetInt
Gets the value of a given key as an Int32
(Inherited from IReadOnlyDictionary.)
Public methodGetLong
Gets the value of a given key as an Int64
(Inherited from IReadOnlyDictionary.)
Public methodGetObject
Gets the value of a given key as an untyped object
(Inherited from IReadOnlyDictionary.)
Public methodGetString
Gets the value of a given key as a String
(Inherited from IReadOnlyDictionary.)
Public methodRemove
Removes the given key from this dictionary
Public methodSet(IDictionaryString, Object)
Replaces the contents of this dictionary with the contents of the given one
Public methodSet(String, Object)
Sets the given key to the given value
Public methodToDictionary (Inherited from IReadOnlyDictionary.)
Top
Extension Methods
See Also