OptionsDictionary Class |
Namespace: Couchbase.Lite
public abstract class OptionsDictionary : IDictionary<string, Object>, ICollection<KeyValuePair<string, Object>>, IEnumerable<KeyValuePair<string, Object>>, IEnumerable
The OptionsDictionary type exposes the following members.
Name | Description | |
---|---|---|
![]() | Count | Gets the number of elements contained in the ICollection<T>. |
![]() | IsReadOnly | Gets a value indicating whether the ICollection<T> is read-only. |
![]() | Item | Gets or sets the element with the specified key. |
![]() | Keys | Gets an ICollection<T> containing the keys of the IDictionary<TKey, TValue>. |
![]() | Values | Gets an ICollection<T> containing the values in the IDictionary<TKey, TValue>. |
Name | Description | |
---|---|---|
![]() | Add(KeyValuePair<String, Object>) | Adds an item to the ICollection<T>. |
![]() | Add(String, Object) | Adds an element with the provided key and value to the IDictionary<TKey, TValue>. |
![]() | Clear | Removes all items from the ICollection<T>. |
![]() | Contains | Determines whether the ICollection<T> contains a specific value. |
![]() | ContainsKey | Determines whether the IDictionary<TKey, TValue> contains an element with the specified key. |
![]() | CopyTo | |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEnumerator | Returns an enumerator that iterates through the collection. |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove(KeyValuePair<String, Object>) | Removes the first occurrence of a specific object from the ICollection<T>. |
![]() | Remove(String) | Removes the element with the specified key from the IDictionary<TKey, TValue>. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryGetValue | Gets the value associated with the specified key. |
Name | Description | |
---|---|---|
![]() | GetCast<T> |
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.) |
![]() | TryGetValue<T> |
Tries to get the value for the given key as the given type
(Defined by Extensions.) |