Click or drag to resize

Revision Class

A Couchbase Lite Document Revision.
Inheritance Hierarchy

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public abstract class Revision

The Revision type exposes the following members.

Properties
  NameDescription
Public propertyAttachmentNames
Gets the names of all the Attachments.
Public propertyAttachments
Gets all the Attachments.
Public propertyDatabase
Gets the Database that owns the Revision's Document.
Public propertyDocument
Gets the Document that this Revision belongs to.
Public propertyId
Gets the Revision's id.
Public propertyIsDeletion
Gets if the Revision marks the deletion of its Document.
Public propertyIsGone
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?)
Public propertyParent
Gets the parent Revision.
Public propertyParentId
Gets the parent Revision's id.
Public propertyProperties
Gets the properties of the Revision.
Public propertyRevisionHistory
Returns the history of this document as an array of CBLRevisions, in forward order.
Public propertyUserProperties
Gets the properties of the Revision. without any properties with keys prefixed with '_' (which contain Couchbase Lite data).
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Revision.
(Overrides ObjectEquals(Object).)
Public methodGetAttachment
Returns the Attachment with the specified name if it exists, otherwise null.
Public methodGetHashCode
Serves as a hash function for a Revision object.
(Overrides ObjectGetHashCode.)
Public methodGetProperty
Returns the value of the property with the specified key.
Public methodToString
Returns a String that represents the current Revision.
(Overrides ObjectToString.)
Top
See Also