Click or drag to resize

MutableDictionary Class

A class representing a writeable string to object dictionary
Inheritance Hierarchy

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 0.0.0
Syntax
C#
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.

Constructors
Properties
  NameDescription
Public propertyCount
Gets the number of elements in the collection.
(Inherited from DictionaryObject.)
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 DictionaryObject.)
Top
Methods
  NameDescription
Public methodContains
Checks if a given key is present in the dictionary
(Inherited from DictionaryObject.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 DictionaryObject.)
Public methodGetBoolean
Gets the value of a given key as a Boolean
(Inherited from DictionaryObject.)
Public methodGetDate
Gets the value of a given key as a DateTimeOffset
(Inherited from DictionaryObject.)
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 DictionaryObject.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from DictionaryObject.)
Public methodGetFloat
Gets the value of a given key as a Single
(Inherited from DictionaryObject.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInt
Gets the value of a given key as an Int32
(Inherited from DictionaryObject.)
Public methodGetLong
Gets the value of a given key as an Int64
(Inherited from DictionaryObject.)
Public methodGetObject
Gets the value of a given key as an untyped object
(Inherited from DictionaryObject.)
Public methodGetString
Gets the value of a given key as a String
(Inherited from DictionaryObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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, Blob)
Sets the given key to the given value
Public methodSet(String, MutableArray)
Sets the given key to the given value
Public methodSet(String, MutableDictionary)
Sets the given key to the given value
Public methodSet(String, Boolean)
Sets the given key to the given value
Public methodSet(String, DateTimeOffset)
Sets the given key to the given value
Public methodSet(String, Double)
Sets the given key to the given value
Public methodSet(String, Int32)
Sets the given key to the given value
Public methodSet(String, Int64)
Sets the given key to the given value
Public methodSet(String, Object)
Sets the given key to the given value
Public methodSet(String, Single)
Sets the given key to the given value
Public methodSet(String, String)
Sets the given key to the given value
Public methodToDictionary (Inherited from DictionaryObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also