DocumentApiClientDeleteDocumentAsyncT Method (String, String, DeleteDocumentQuery, DocumentHeaderProperties) |
Delete a document.
Namespace:
ArangoDBNetStandard.DocumentApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax public virtual Task<DeleteDocumentResponse<T>> DeleteDocumentAsync<T>(
string collectionName,
string documentKey,
DeleteDocumentQuery query = null,
DocumentHeaderProperties headers = null
)
Public Overridable Function DeleteDocumentAsync(Of T) (
collectionName As String,
documentKey As String,
Optional query As DeleteDocumentQuery = Nothing,
Optional headers As DocumentHeaderProperties = Nothing
) As Task(Of DeleteDocumentResponse(Of T))
public:
generic<typename T>
virtual Task<DeleteDocumentResponse<T>^>^ DeleteDocumentAsync(
String^ collectionName,
String^ documentKey,
DeleteDocumentQuery^ query = nullptr,
DocumentHeaderProperties^ headers = nullptr
)
abstract DeleteDocumentAsync :
collectionName : string *
documentKey : string *
?query : DeleteDocumentQuery *
?headers : DocumentHeaderProperties
(* Defaults:
let _query = defaultArg query null
let _headers = defaultArg headers null
*)
-> Task<DeleteDocumentResponse<'T>>
override DeleteDocumentAsync :
collectionName : string *
documentKey : string *
?query : DeleteDocumentQuery *
?headers : DocumentHeaderProperties
(* Defaults:
let _query = defaultArg query null
let _headers = defaultArg headers null
*)
-> Task<DeleteDocumentResponse<'T>>
Parameters
- collectionName
- Type: SystemString
- documentKey
- Type: SystemString
- query (Optional)
- Type: ArangoDBNetStandard.DocumentApi.ModelsDeleteDocumentQuery
- headers (Optional)
- Type: ArangoDBNetStandard.DocumentApi.ModelsDocumentHeaderProperties
The DocumentHeaderProperties values.
Type Parameters
- T
Return Value
Type:
TaskDeleteDocumentResponseTImplements
IDocumentApiClientDeleteDocumentAsyncT(String, String, DeleteDocumentQuery, DocumentHeaderProperties)See Also