ReadOnlyDocument Class |
Namespace: Couchbase.Lite
public class ReadOnlyDocument : IReadOnlyDictionary, IReadOnlyDictionaryFragment, IReadOnlyCollection<KeyValuePair<string, Object>>, IEnumerable<KeyValuePair<string, Object>>, IEnumerable, IDisposable
The ReadOnlyDocument type exposes the following members.
| Name | Description | |
|---|---|---|
| Count |
Gets the number of top level entries in this document
| |
| Database |
Gets the database that this document belongs to, if any
| |
| Id |
Gets this document's unique ID
| |
| IsDeleted |
Gets whether or not this document is deleted
| |
| Item |
Accesses JSON paths in the document to get their values
| |
| Keys |
Gets all the keys present in this document
| |
| Sequence |
Gets the sequence of this document (a unique incrementing number
identifying its status in a database)
|
| Name | Description | |
|---|---|---|
| Contains | ||
| 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 | ||
| GetBlob | ||
| GetBoolean | ||
| GetDate | ||
| GetDictionary | ||
| GetDouble | ||
| GetEnumerator | ||
| GetFloat | ||
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetInt | ||
| GetLong | ||
| GetObject | ||
| GetString | ||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToDictionary | ||
| ToString |
Returns a string that represents the current object.
(Overrides ObjectToString.) |