Click or drag to resize

SavedRevisionCreateRevision Method (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.

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public SavedRevision CreateRevision(
	IDictionary<string, Object> properties
)

Parameters

properties
Type: System.Collections.GenericIDictionaryString, Object
The properties to set on the new Revision.

Return Value

Type: SavedRevision
The new SavedRevision.
Exceptions
ExceptionCondition
CouchbaseLiteException Thrown if an error occurs while creating or saving the new Revision.
See Also