SavedRevision Class |
Namespace: Couchbase.Lite
public sealed class SavedRevision : Revision
The SavedRevision type exposes the following members.
| Name | Description | |
|---|---|---|
| AttachmentNames |
Gets the names of all the Attachments.
(Inherited from Revision.) | |
| Attachments |
Gets all the Attachments.
(Inherited from Revision.) | |
| Database | (Inherited from Revision.) | |
| Document | (Inherited from Revision.) | |
| Id | Gets the Revision's id. (Overrides RevisionId.) | |
| IsDeletion | (Overrides RevisionIsDeletion.) | |
| 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?)
(Inherited from Revision.) | |
| Parent |
Gets the parent Revision.
(Overrides RevisionParent.) | |
| ParentId |
Gets the parent Revision's Id.
(Overrides RevisionParentId.) | |
| Properties | The contents of this revision of the document. (Overrides RevisionProperties.) | |
| PropertiesAvailable | ||
| RevisionHistory | Returns the history of this document as an array of Revisions, in forward order. (Overrides RevisionRevisionHistory.) | |
| UserProperties |
Gets the properties of the Revision.
without any properties with keys prefixed with '_' (which contain Couchbase Lite data).
(Inherited from Revision.) |
| Name | Description | |
|---|---|---|
| CreateRevision |
Creates a new UnsavedRevision whose properties and attachments are initially identical to this one.
| |
| CreateRevision(IDictionaryString, Object) |
Creates and saves a new Revision with the specified properties.
To succeed the specified properties must include a '_rev' property whose value maches the current Revision's id.
| |
| DeleteDocument | ||
| Equals | (Inherited from Revision.) | |
| GetAttachment |
Returns the Attachment with the specified name if it exists, otherwise null.
(Inherited from Revision.) | |
| GetHashCode |
Serves as a hash function for a Revision object.
(Inherited from Revision.) | |
| GetProperty |
Returns the value of the property with the specified key.
(Inherited from Revision.) | |
| ToString | (Overrides RevisionToString.) |