Click or drag to resize

IDictionaryObject Interface

An interface representing a readonly key-value collection with type-safe accessors

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 0.0.0
Syntax
C#
public interface IDictionaryObject : IDictionaryFragment, 
	IReadOnlyCollection<KeyValuePair<string, Object>>, IEnumerable<KeyValuePair<string, Object>>, 
	IEnumerable

The IDictionaryObject type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of elements in the collection.
(Inherited from IReadOnlyCollection<KeyValuePair<String, Object>>.)
Public propertyItem
Gets the value of the given key, or lack thereof, wrapped inside of a Fragment
(Inherited from IDictionaryFragment.)
Public propertyKeys
Gets all the keys held by this dictionary
Top
Methods
  NameDescription
Public methodContains
Checks if a given key is present in the dictionary
Public methodGetArray
Gets the value of a given key as an IArray
Public methodGetBlob
Gets the value of a given key as a Blob
Public methodGetBoolean
Gets the value of a given key as a Boolean
Public methodGetDate
Gets the value of a given key as a DateTimeOffset
Public methodGetDictionary
Gets the value of a given key as a readonly dictionary
Public methodGetDouble
Gets the value of a given key as a Double
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable<KeyValuePair<String, Object>>.)
Public methodGetFloat
Gets the value of a given key as a Single
Public methodGetInt
Gets the value of a given key as an Int32
Public methodGetLong
Gets the value of a given key as an Int64
Public methodGetObject
Gets the value of a given key as an untyped object
Public methodGetString
Gets the value of a given key as a String
Public methodToDictionary
Top
See Also