Click or drag to resize
IBucketGetDocumentT Method
Gets a document by it's given id.

Namespace: Couchbase.Core
Assembly: Couchbase (in Couchbase.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
IDocumentResult<T> GetDocument<T>(
	string id
)

Parameters

id
Type: SystemString
The documents primary key.

Type Parameters

T
The type T to convert the value to.

Return Value

Type: IDocumentResultT
An IDocumentResultT object containing the document if it's found and any other operation specific info.
See Also