Couchbase Lite .NET Documentation
Couchbase Lite .NET Documentation
Couchbase.Lite
Database Class
Database Methods
AddDocumentChangedListener Method
Close Method
Compact Method
Contains Method
CreateIndex Method
Delete Method
DeleteIndex Method
Dispose Method
DocumentExists Method
Exists Method
Finalize Method
GetDocument Method
InBatch Method
Purge Method
RemoveDocumentChangedListener Method
Save Method
Database
Contains 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: 2.0.0-b0125
Syntax
C#
Copy
public
bool
Contains
(
string
docID
)
Parameters
docID
Type:
System
String
The ID of the
Document
to search for
Return Value
Type:
Boolean
true
if the
Document
exists,
false
otherwise
See Also
Reference
Database Class
Couchbase.Lite Namespace