Click or drag to resize

IMutableDictionary Interface

An interface representing a writeable key value collection

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

The IMutableDictionary type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of entries in this dictionary
(Inherited from IDictionaryObject.)
Public propertyItem
Gets the value of the given key, or lack thereof, wrapped inside of a IMutableFragment
Public propertyKeys
Gets all the keys held by this dictionary
(Inherited from IDictionaryObject.)
Top
Methods
  NameDescription
Public methodContains
Checks if a given key is present in the dictionary
(Inherited from IDictionaryObject.)
Public methodGetArray
Gets the value of a given key as an IMutableArray
Public methodGetBlob
Gets the value of a given key as a Blob
(Inherited from IDictionaryObject.)
Public methodGetBoolean
Gets the value of a given key as a Boolean
(Inherited from IDictionaryObject.)
Public methodGetDate
Gets the value of a given key as a DateTimeOffset
(Inherited from IDictionaryObject.)
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 IDictionaryObject.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableKeyValuePairString, Object.)
Public methodGetFloat
Gets the value of a given key as a Single
(Inherited from IDictionaryObject.)
Public methodGetInt
Gets the value of a given key as an Int32
(Inherited from IDictionaryObject.)
Public methodGetLong
Gets the value of a given key as an Int64
(Inherited from IDictionaryObject.)
Public methodGetString
Gets the value of a given key as a String
(Inherited from IDictionaryObject.)
Public methodGetValue
Gets the value of a given key as an untyped object
(Inherited from IDictionaryObject.)
Public methodRemove
Removes the given key from this dictionary
Public methodSetArray
Sets the given key to the given value
Public methodSetBlob
Sets the given key to the given value
Public methodSetBoolean
Sets the given key to the given value
Public methodSetData
Replaces the contents of this dictionary with the contents of the given one
Public methodSetDate
Sets the given key to the given value
Public methodSetDictionary
Sets the given key to the given value
Public methodSetDouble
Sets the given key to the given value
Public methodSetFloat
Sets the given key to the given value
Public methodSetInt
Sets the given key to the given value
Public methodSetLong
Sets the given key to the given value
Public methodSetString
Sets the given key to the given value
Public methodSetValue
Sets the given key to the given value
Public methodToDictionary (Inherited from IDictionaryObject.)
Top
See Also