IGraphApiClientGetEdgeAsyncT Method (String, String, String, GetEdgeQuery) |
Gets an edge from the given graph using the edge collection and _key attribute.
Namespace:
ArangoDBNetStandard.GraphApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<GetEdgeResponse<T>> GetEdgeAsync<T>(
string graphName,
string collectionName,
string edgeKey,
GetEdgeQuery query = null
)
Function GetEdgeAsync(Of T) (
graphName As String,
collectionName As String,
edgeKey As String,
Optional query As GetEdgeQuery = Nothing
) As Task(Of GetEdgeResponse(Of T))
generic<typename T>
Task<GetEdgeResponse<T>^>^ GetEdgeAsync(
String^ graphName,
String^ collectionName,
String^ edgeKey,
GetEdgeQuery^ query = nullptr
)
abstract GetEdgeAsync :
graphName : string *
collectionName : string *
edgeKey : string *
?query : GetEdgeQuery
(* Defaults:
let _query = defaultArg query null
*)
-> Task<GetEdgeResponse<'T>>
Parameters
- graphName
- Type: SystemString
The name of the graph. - collectionName
- Type: SystemString
The name of the edge collection the edge belongs to. - edgeKey
- Type: SystemString
The _key attribute of the edge. - query (Optional)
- Type: ArangoDBNetStandard.GraphApi.ModelsGetEdgeQuery
Type Parameters
- T
- The type of the edge document to deserialize to.
Return Value
Type:
TaskGetEdgeResponseTSee Also