Click or drag to resize

OptionsDictionary Class

An abstract base class for options dictionaries. These dictionaries are simply dictionaries of String and Object but they provide safe accessors to get the data without having to know the keys they are stored under
Inheritance Hierarchy

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0364
Syntax
C#
public abstract class OptionsDictionary : IDictionary<string, Object>, 
	ICollection<KeyValuePair<string, Object>>, IEnumerable<KeyValuePair<string, Object>>, 
	IEnumerable

The OptionsDictionary type exposes the following members.

Properties
Methods
  NameDescription
Public methodAdd(KeyValuePairString, Object)
Public methodAdd(String, Object)
Public methodClear
Public methodContains
Public methodContainsKey
Public methodCopyTo
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove(KeyValuePairString, Object)
Public methodRemove(String)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified key.
Top
Extension Methods
  NameDescription
Public Extension MethodGetCastT(String)Overloaded.
Gets the value for the given key as the given type, or the compiler default value if the value does not exist or is the incorrect type
(Defined by Extensions.)
Public Extension MethodGetCastT(String, T)Overloaded.
Gets the value for the given key as the given type, or a default value if the value does not exist or is the incorrect type
(Defined by Extensions.)
Public Extension MethodTryGetValueT
Tries to get the value for the given key as the given type
(Defined by Extensions.)
Top
See Also