ReadOnlyDocument Class |
Namespace: Couchbase.Lite
public class ReadOnlyDocument : ReadOnlyDictionary, IDisposable
The ReadOnlyDocument type exposes the following members.
| Name | Description | |
|---|---|---|
| Count |
Gets the number of entries in the dictionary
(Inherited from ReadOnlyDictionary.) | |
| Id |
Gets this document's unique ID
| |
| IsDeleted |
Gets whether or not this document is deleted
| |
| Item |
Gets the value of the given key, or lack thereof,
wrapped inside of a ReadOnlyFragment (Inherited from ReadOnlyDictionary.) | |
| Keys |
Gets all the keys held by this dictionary
(Inherited from ReadOnlyDictionary.) | |
| Sequence |
Gets the sequence of this document (a unique incrementing number
identifying its status in a database)
|
| Name | Description | |
|---|---|---|
| Contains |
Checks if a given key is present in the dictionary
(Inherited from ReadOnlyDictionary.) | |
| Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
| Dispose(Boolean) |
Used for disposing this object
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize |
Finalizer
(Overrides ObjectFinalize.) | |
| GetArray |
Gets the value of a given key as an IReadOnlyArray (Inherited from ReadOnlyDictionary.) | |
| GetBlob |
Gets the value of a given key as a Blob (Inherited from ReadOnlyDictionary.) | |
| GetBoolean |
Gets the value of a given key as a Boolean (Inherited from ReadOnlyDictionary.) | |
| GetDate |
Gets the value of a given key as a DateTimeOffset (Inherited from ReadOnlyDictionary.) | |
| GetDictionary |
Gets the value of a given key as a readonly dictionary
(Inherited from ReadOnlyDictionary.) | |
| GetDouble |
Gets the value of a given key as a Double (Inherited from ReadOnlyDictionary.) | |
| GetEnumerator |
Returns an enumerator that iterates through the collection.
(Inherited from ReadOnlyDictionary.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetInt |
Gets the value of a given key as an Int32 (Inherited from ReadOnlyDictionary.) | |
| GetLong |
Gets the value of a given key as an Int64 (Inherited from ReadOnlyDictionary.) | |
| GetObject |
Gets the value of a given key as an untyped object
(Inherited from ReadOnlyDictionary.) | |
| GetString |
Gets the value of a given key as a String (Inherited from ReadOnlyDictionary.) | |
| 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 (Inherited from ReadOnlyDictionary.) | |
| ToString |
Returns a string that represents the current object.
(Overrides ObjectToString.) |