ReadOnlyDictionary Class |
Namespace: Couchbase.Lite
public class ReadOnlyDictionary : IReadOnlyDictionary, IReadOnlyDictionaryFragment, IEnumerable<KeyValuePair<string, Object>>, IEnumerable
The ReadOnlyDictionary type exposes the following members.
Name | Description | |
---|---|---|
Count |
Gets the number of entries in the dictionary
| |
Item |
Gets the value of the given key, or lack thereof,
wrapped inside of a ReadOnlyFragment | |
Keys |
Gets all the keys held by this dictionary
|
Name | Description | |
---|---|---|
Contains |
Checks if a given key is present in the dictionary
| |
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.) | |
GetArray |
Gets the value of a given key as an IReadOnlyArray | |
GetBlob |
Gets the value of a given key as a Blob | |
GetBoolean |
Gets the value of a given key as a Boolean | |
GetDate |
Gets the value of a given key as a DateTimeOffset | |
GetDictionary |
Gets the value of a given key as a readonly dictionary
| |
GetDouble |
Gets the value of a given key as a Double | |
GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetInt |
Gets the value of a given key as an Int32 | |
GetLong |
Gets the value of a given key as an Int64 | |
GetObject |
Gets the value of a given key as an untyped object
| |
GetString |
Gets the value of a given key as a String | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToDictionary |
Converts this object to a standard .NET string to object
IDictionaryTKey, TValue | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.) |