IBucket.Remove<T> Method (IDocument<T>)Couchbase .NET SDK 2.0
Removes a document from the database.

Namespace: Couchbase.Core
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
IOperationResult Remove<T>(
	IDocument<T> document
)

Parameters

document
Type: Couchbase.IDocument<T>
The IDocument<T> to remove from the database.
Type Parameters
T
The type T of the object.

Return Value

Type: IOperationResult
An object implementing IDocumentResult<T> with information regarding the operation.
See Also