Click or drag to resize

DatabaseDeleteLocalDocument Method

Deletes the local Document with the given id.

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax
C#
public bool DeleteLocalDocument(
	string id
)

Parameters

id
Type: SystemString
Identifier.

Return Value

Type: Boolean
true, if local Document was deleted, false otherwise.
Exceptions
ExceptionCondition
CouchbaseLiteExceptionThrown if there is an issue occurs while deleting the local document.
See Also