Click or drag to resize

DocumentPutProperties Method

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 PutProperties(
	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.
Remarks
Saves a new revision. The properties dictionary must have a "_rev" property whose ID matches the current revision's (as it will if it's a modified copy of this document's .properties property.)
See Also