IDocumentApiClientDeleteDocumentAsyncT Method (String, DeleteDocumentQuery, DocumentHeaderProperties) |
Delete a document based on its document ID.
Namespace:
ArangoDBNetStandard.DocumentApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<DeleteDocumentResponse<T>> DeleteDocumentAsync<T>(
string documentId,
DeleteDocumentQuery query = null,
DocumentHeaderProperties headers = null
)
Function DeleteDocumentAsync(Of T) (
documentId As String,
Optional query As DeleteDocumentQuery = Nothing,
Optional headers As DocumentHeaderProperties = Nothing
) As Task(Of DeleteDocumentResponse(Of T))
generic<typename T>
Task<DeleteDocumentResponse<T>^>^ DeleteDocumentAsync(
String^ documentId,
DeleteDocumentQuery^ query = nullptr,
DocumentHeaderProperties^ headers = nullptr
)
abstract DeleteDocumentAsync :
documentId : string *
?query : DeleteDocumentQuery *
?headers : DocumentHeaderProperties
(* Defaults:
let _query = defaultArg query null
let _headers = defaultArg headers null
*)
-> Task<DeleteDocumentResponse<'T>>
Parameters
- documentId
- Type: SystemString
- query (Optional)
- Type: ArangoDBNetStandard.DocumentApi.ModelsDeleteDocumentQuery
- headers (Optional)
- Type: ArangoDBNetStandard.DocumentApi.ModelsDocumentHeaderProperties
The DocumentHeaderProperties values.
Type Parameters
- T
Return Value
Type:
TaskDeleteDocumentResponseTSee Also