Click or drag to resize

DatabaseContains Method

Checks whether or not a given Document exists in this database instance by searching for its ID.

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 0.0.0
Syntax
C#
public bool Contains(
	string docID
)

Parameters

docID
Type: SystemString
The ID of the Document to search for

Return Value

Type: Boolean
true if the Document exists, false otherwise
See Also