GraphApiClientGetVertexAsyncT Method (String, String, GetVertexQuery) |
Gets a vertex based on its document ID.
Namespace:
ArangoDBNetStandard.GraphApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax public virtual Task<GetVertexResponse<T>> GetVertexAsync<T>(
string graphName,
string documentId,
GetVertexQuery query = null
)
Public Overridable Function GetVertexAsync(Of T) (
graphName As String,
documentId As String,
Optional query As GetVertexQuery = Nothing
) As Task(Of GetVertexResponse(Of T))
public:
generic<typename T>
virtual Task<GetVertexResponse<T>^>^ GetVertexAsync(
String^ graphName,
String^ documentId,
GetVertexQuery^ query = nullptr
)
abstract GetVertexAsync :
graphName : string *
documentId : string *
?query : GetVertexQuery
(* Defaults:
let _query = defaultArg query null
*)
-> Task<GetVertexResponse<'T>>
override GetVertexAsync :
graphName : string *
documentId : string *
?query : GetVertexQuery
(* Defaults:
let _query = defaultArg query null
*)
-> Task<GetVertexResponse<'T>>
Parameters
- graphName
- Type: SystemString
The name of the graph to get the vertex from. - documentId
- Type: SystemString
The document ID of the vertex to retrieve. - query (Optional)
- Type: ArangoDBNetStandard.GraphApi.ModelsGetVertexQuery
Type Parameters
- T
Return Value
Type:
TaskGetVertexResponseTImplements
IGraphApiClientGetVertexAsyncT(String, String, GetVertexQuery)Exceptions See Also