IDocumentApiClientPutDocumentAsyncT Method (String, T, PutDocumentQuery, ApiClientSerializationOptions, DocumentHeaderProperties) |
Replaces the document with the provided 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 Task<PutDocumentResponse<T>> PutDocumentAsync<T>(
string documentId,
T doc,
PutDocumentQuery opts = null,
ApiClientSerializationOptions serializationOptions = null,
DocumentHeaderProperties headers = null
)
Function PutDocumentAsync(Of T) (
documentId As String,
doc As T,
Optional opts As PutDocumentQuery = Nothing,
Optional serializationOptions As ApiClientSerializationOptions = Nothing,
Optional headers As DocumentHeaderProperties = Nothing
) As Task(Of PutDocumentResponse(Of T))
generic<typename T>
Task<PutDocumentResponse<T>^>^ PutDocumentAsync(
String^ documentId,
T doc,
PutDocumentQuery^ opts = nullptr,
ApiClientSerializationOptions^ serializationOptions = nullptr,
DocumentHeaderProperties^ headers = nullptr
)
abstract PutDocumentAsync :
documentId : string *
doc : 'T *
?opts : PutDocumentQuery *
?serializationOptions : ApiClientSerializationOptions *
?headers : DocumentHeaderProperties
(* Defaults:
let _opts = defaultArg opts null
let _serializationOptions = defaultArg serializationOptions null
let _headers = defaultArg headers null
*)
-> Task<PutDocumentResponse<'T>>
Parameters
- documentId
- Type: SystemString
- doc
- Type: T
- opts (Optional)
- Type: ArangoDBNetStandard.DocumentApi.ModelsPutDocumentQuery
- serializationOptions (Optional)
- Type: ArangoDBNetStandard.SerializationApiClientSerializationOptions
The serialization options. When the value is null the
the serialization options should be provided by the serializer, otherwise the given options should be used. - headers (Optional)
- Type: ArangoDBNetStandard.DocumentApi.ModelsDocumentHeaderProperties
The DocumentHeaderProperties values.
Type Parameters
- T
Return Value
Type:
TaskPutDocumentResponseTSee Also