| GraphApiClientPostEdgeAsyncT Method  | 
 
            Creates an edge in an existing graph.
            The edge must contain a _from and _to value
            referencing valid vertices in the graph.
            The edge has to conform to the definition of the edge collection it is added to.
            POST /_api/gharial/{graph}/edge/{collection}
            
 
    Namespace: 
   ArangoDBNetStandard.GraphApi
    Assembly:
   ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
 Syntax
Syntaxpublic virtual Task<PostEdgeResponse<T>> PostEdgeAsync<T>(
	string graphName,
	string collectionName,
	T edge,
	PostEdgeQuery query = null,
	ApiClientSerializationOptions serializationOptions = null
)
Public Overridable Function PostEdgeAsync(Of T) ( 
	graphName As String,
	collectionName As String,
	edge As T,
	Optional query As PostEdgeQuery = Nothing,
	Optional serializationOptions As ApiClientSerializationOptions = Nothing
) As Task(Of PostEdgeResponse(Of T))
public:
generic<typename T>
virtual Task<PostEdgeResponse<T>^>^ PostEdgeAsync(
	String^ graphName, 
	String^ collectionName, 
	T edge, 
	PostEdgeQuery^ query = nullptr, 
	ApiClientSerializationOptions^ serializationOptions = nullptr
)
abstract PostEdgeAsync : 
        graphName : string * 
        collectionName : string * 
        edge : 'T * 
        ?query : PostEdgeQuery * 
        ?serializationOptions : ApiClientSerializationOptions 
(* Defaults:
        let _query = defaultArg query null
        let _serializationOptions = defaultArg serializationOptions null
*)
-> Task<PostEdgeResponse<'T>> 
override PostEdgeAsync : 
        graphName : string * 
        collectionName : string * 
        edge : 'T * 
        ?query : PostEdgeQuery * 
        ?serializationOptions : ApiClientSerializationOptions 
(* Defaults:
        let _query = defaultArg query null
        let _serializationOptions = defaultArg serializationOptions null
*)
-> Task<PostEdgeResponse<'T>> Parameters
- graphName
- Type: SystemString
 The name of the graph.
- collectionName
- Type: SystemString
 The name of the edge collection the edge belongs to.
- edge
- Type: T
 The edge to create.
- query (Optional)
- Type: ArangoDBNetStandard.GraphApi.ModelsPostEdgeQuery
 Optional query parameters of the request.
- serializationOptions (Optional)
- Type: ArangoDBNetStandard.SerializationApiClientSerializationOptions
 The serialization options. When the value is null the
            the serialization options should be provided by the serializer, otherwise the given options should be used.
Type Parameters
- T
- The type of the edge to create.
            Must contain valid _from and _to properties once serialized.
            null properties are preserved during serialization.
Return Value
Type: 
TaskPostEdgeResponseTImplements
IGraphApiClientPostEdgeAsyncT(String, String, T, PostEdgeQuery, ApiClientSerializationOptions) See Also
See Also