Click or drag to resize

DictionaryObject Class

A class representing a writeable string to object dictionary
Inheritance Hierarchy

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0382
Syntax
C#
public sealed class DictionaryObject : ReadOnlyDictionary, 
	IDictionaryObject, IReadOnlyDictionary, IReadOnlyDictionaryFragment, IReadOnlyCollection<KeyValuePair<string, Object>>, 
	IEnumerable<KeyValuePair<string, Object>>, IEnumerable, 
	IDictionaryFragment

The DictionaryObject type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
Gets the number of elements in the collection.
(Inherited from ReadOnlyDictionary.)
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 ReadOnlyDictionary.)
Top
Methods
  NameDescription
Public methodContains
Checks if a given key is present in the dictionary
(Inherited from ReadOnlyDictionary.)
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 IArray
Public methodGetBlob
Gets the value of a given key as a Blob
(Inherited from ReadOnlyDictionary.)
Public methodGetBoolean
Gets the value of a given key as a Boolean
(Inherited from ReadOnlyDictionary.)
Public methodGetDate
Gets the value of a given key as a DateTimeOffset
(Inherited from ReadOnlyDictionary.)
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 ReadOnlyDictionary.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from ReadOnlyDictionary.)
Public methodGetFloat
Gets the value of a given key as a Single
(Inherited from ReadOnlyDictionary.)
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 ReadOnlyDictionary.)
Public methodGetLong
Gets the value of a given key as an Int64
(Inherited from ReadOnlyDictionary.)
Public methodGetObject
Gets the value of a given key as an untyped object
(Inherited from ReadOnlyDictionary.)
Public methodGetString
Gets the value of a given key as a String
(Inherited from ReadOnlyDictionary.)
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, ArrayObject)
Sets the given key to the given value
Public methodSet(String, Blob)
Sets the given key to the given value
Public methodSet(String, DictionaryObject)
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 ReadOnlyDictionary.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also