Click or drag to resize

IDatabaseDocumentExists Method

Checks if the IDocument with the given ID exists in the database

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0033
Syntax
C#
bool DocumentExists(
	string documentID
)

Parameters

documentID
Type: SystemString
The ID to check

Return Value

Type: Boolean
true if the document exists, false otherwise
Exceptions
ExceptionCondition
ThreadSafetyViolationExceptionThrown if an invalid access attempt is made
See Also