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 ICollectionT. | |
IsReadOnly | Gets a value indicating whether the ICollectionT is read-only. | |
Item | Gets or sets the element with the specified key. | |
Keys | Gets an ICollectionT containing the keys of the IDictionaryTKey, TValue. | |
Values | Gets an ICollectionT containing the values in the IDictionaryTKey, TValue. |
Name | Description | |
---|---|---|
Add(KeyValuePairString, Object) | Adds an item to the ICollectionT. | |
Add(String, Object) | Adds an element with the provided key and value to the IDictionaryTKey, TValue. | |
Clear | Removes all items from the ICollectionT. | |
Contains | Determines whether the ICollectionT contains a specific value. | |
ContainsKey | Determines whether the IDictionaryTKey, 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(KeyValuePairString, Object) | Removes the first occurrence of a specific object from the ICollectionT. | |
Remove(String) | Removes the element with the specified key from the IDictionaryTKey, TValue. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetValue | Gets the value associated with the specified key. |
Name | Description | |
---|---|---|
AnyAndEveryKeyValuePairString, Object |
Returns whether or not the collection has at least one item AND at least one item
matching the given pattern
(Defined by LinqExtensionMethods.) | |
GetCastT(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.) | |
GetCastT(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.) | |
TryGetValueT |
Tries to get the value for the given key as the given type
(Defined by Extensions.) |