IGraphApiClientPutEdgeAsyncT Method (String, String, T, PutEdgeQuery) |
Replaces the data of an edge based on its document ID.
Namespace:
ArangoDBNetStandard.GraphApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<PutEdgeResponse<T>> PutEdgeAsync<T>(
string graphName,
string documentId,
T edge,
PutEdgeQuery query = null
)
Function PutEdgeAsync(Of T) (
graphName As String,
documentId As String,
edge As T,
Optional query As PutEdgeQuery = Nothing
) As Task(Of PutEdgeResponse(Of T))
generic<typename T>
Task<PutEdgeResponse<T>^>^ PutEdgeAsync(
String^ graphName,
String^ documentId,
T edge,
PutEdgeQuery^ query = nullptr
)
abstract PutEdgeAsync :
graphName : string *
documentId : string *
edge : 'T *
?query : PutEdgeQuery
(* Defaults:
let _query = defaultArg query null
*)
-> Task<PutEdgeResponse<'T>>
Parameters
- graphName
- Type: SystemString
The name of the graph in which to replace the edge. - documentId
- Type: SystemString
The document ID of the edge to replace. - edge
- Type: T
- query (Optional)
- Type: ArangoDBNetStandard.GraphApi.ModelsPutEdgeQuery
Type Parameters
- T
- Type of the document used for the update.
Return Value
Type:
TaskPutEdgeResponseTSee Also