Click or drag to resize

DocumentApiClientPutDocumentAsyncT Method (String, String, T, PutDocumentQuery, DocumentHeaderProperties)

Replaces the document based on its Document ID with the one in the body, provided there is such a document and no precondition is violated.

Namespace:  ArangoDBNetStandard.DocumentApi
Assembly:  ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax
public virtual Task<PutDocumentResponse<T>> PutDocumentAsync<T>(
	string collectionName,
	string documentKey,
	T doc,
	PutDocumentQuery opts = null,
	DocumentHeaderProperties headers = null
)

Parameters

collectionName
Type: SystemString
documentKey
Type: SystemString
doc
Type: T
opts (Optional)
Type: ArangoDBNetStandard.DocumentApi.ModelsPutDocumentQuery
headers (Optional)
Type: ArangoDBNetStandard.DocumentApi.ModelsDocumentHeaderProperties
The DocumentHeaderProperties values.

Type Parameters

T

Return Value

Type: TaskPutDocumentResponseT

Implements

IDocumentApiClientPutDocumentAsyncT(String, String, T, PutDocumentQuery, DocumentHeaderProperties)
See Also