Click or drag to resize

IDatabaseGetDocument Method

Gets or creates an IDocument with the specified ID

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0033
Syntax
C#
IDocument GetDocument(
	string id
)

Parameters

id
Type: SystemString
The ID to use when creating or getting the document

Return Value

Type: IDocument
The instantiated
Exceptions
ExceptionCondition
ThreadSafetyViolationExceptionThrown if an invalid access attempt is made
See Also