Click or drag to resize

DatabaseDelete Method (Document)

Deletes the given Document from the database

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0364
Syntax
C#
public void Delete(
	Document document
)

Parameters

document
Type: Couchbase.LiteDocument
The document to delete
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when trying to delete a document from a database other than the one it was previously added to
See Also