DocumentApiClientGetDocumentAsyncT Method (String, String, DocumentHeaderProperties) |
Get an existing document.
Namespace:
ArangoDBNetStandard.DocumentApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax public virtual Task<T> GetDocumentAsync<T>(
string collectionName,
string documentKey,
DocumentHeaderProperties headers = null
)
Public Overridable Function GetDocumentAsync(Of T) (
collectionName As String,
documentKey As String,
Optional headers As DocumentHeaderProperties = Nothing
) As Task(Of T)
public:
generic<typename T>
virtual Task<T>^ GetDocumentAsync(
String^ collectionName,
String^ documentKey,
DocumentHeaderProperties^ headers = nullptr
)
abstract GetDocumentAsync :
collectionName : string *
documentKey : string *
?headers : DocumentHeaderProperties
(* Defaults:
let _headers = defaultArg headers null
*)
-> Task<'T>
override GetDocumentAsync :
collectionName : string *
documentKey : string *
?headers : DocumentHeaderProperties
(* Defaults:
let _headers = defaultArg headers null
*)
-> Task<'T>
Parameters
- collectionName
- Type: SystemString
- documentKey
- Type: SystemString
- headers (Optional)
- Type: ArangoDBNetStandard.DocumentApi.ModelsDocumentHeaderProperties
The DocumentHeaderProperties values.
Type Parameters
- T
Return Value
Type:
TaskTImplements
IDocumentApiClientGetDocumentAsyncT(String, String, DocumentHeaderProperties)See Also