Revision Class |
Namespace: Couchbase.Lite
public abstract class Revision
The Revision type exposes the following members.
Name | Description | |
---|---|---|
AttachmentNames |
Gets the names of all the Attachments.
| |
Attachments |
Gets all the Attachments.
| |
Database | ||
Document |
Gets the Document that this Revision belongs to.
| |
Id |
Gets the Revision's id.
| |
IsDeletion |
Gets if the Revision marks the deletion of its Document.
| |
IsGone |
Does this revision mark the deletion or removal (from available channels) of its document?
(In other words, does it have a "_deleted_ or "_removed" property?)
| |
Parent |
Gets the parent Revision.
| |
ParentId |
Gets the parent Revision's id.
| |
Properties | Gets the properties of the Revision. | |
RevisionHistory | Returns the history of this document as an array of CBLRevisions, in forward order. | |
UserProperties |
Gets the properties of the Revision.
without any properties with keys prefixed with '_' (which contain Couchbase Lite data).
|
Name | Description | |
---|---|---|
Equals |
Determines whether the specified Object is equal to the current Revision.
(Overrides ObjectEquals(Object).) | |
GetAttachment |
Returns the Attachment with the specified name if it exists, otherwise null.
| |
GetHashCode |
Serves as a hash function for a Revision object.
(Overrides ObjectGetHashCode.) | |
GetProperty |
Returns the value of the property with the specified key.
| |
ToString |
Returns a String that represents the current Revision.
(Overrides ObjectToString.) |