Click or drag to resize

DatabasePutLocalDocument Method

Sets the contents of the local Document with the given id. If properties is null, the Document is deleted.

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

Parameters

id
Type: SystemString
The id of the local document whos contents to set.
properties
Type: System.Collections.GenericIDictionaryString, Object
The contents to set for the local document.

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Couchbase.Lite.Database.PutLocalDocument(System.String,System.Collections.Generic.IDictionary{System.String,System.Object})"]

Exceptions
ExceptionCondition
CouchbaseLiteExceptionThrown if an issue occurs while setting the contents of the local document.
See Also