IGraphApiClientPostVertexAsyncT Method |
Adds a vertex to the given collection.
POST/_api/gharial/{graph}/vertex/{collection}
Namespace:
ArangoDBNetStandard.GraphApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<PostVertexResponse<T>> PostVertexAsync<T>(
string graphName,
string collectionName,
T vertex,
PostVertexQuery query = null,
ApiClientSerializationOptions serializationOptions = null
)
Function PostVertexAsync(Of T) (
graphName As String,
collectionName As String,
vertex As T,
Optional query As PostVertexQuery = Nothing,
Optional serializationOptions As ApiClientSerializationOptions = Nothing
) As Task(Of PostVertexResponse(Of T))
generic<typename T>
Task<PostVertexResponse<T>^>^ PostVertexAsync(
String^ graphName,
String^ collectionName,
T vertex,
PostVertexQuery^ query = nullptr,
ApiClientSerializationOptions^ serializationOptions = nullptr
)
abstract PostVertexAsync :
graphName : string *
collectionName : string *
vertex : 'T *
?query : PostVertexQuery *
?serializationOptions : ApiClientSerializationOptions
(* Defaults:
let _query = defaultArg query null
let _serializationOptions = defaultArg serializationOptions null
*)
-> Task<PostVertexResponse<'T>>
Parameters
- graphName
- Type: SystemString
- collectionName
- Type: SystemString
- vertex
- Type: T
- query (Optional)
- Type: ArangoDBNetStandard.GraphApi.ModelsPostVertexQuery
- 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
Return Value
Type:
TaskPostVertexResponseTSee Also