VertexTypeGetVertex Method |
Instantiates a Vertex if it exist
Namespace:
VelocityGraph
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public Vertex GetVertex(
int vertexId,
bool polymorphic = false,
bool errorIfNotFound = true
)
Public Function GetVertex (
vertexId As Integer,
Optional polymorphic As Boolean = false,
Optional errorIfNotFound As Boolean = true
) As Vertex
public:
Vertex^ GetVertex(
int vertexId,
bool polymorphic = false,
bool errorIfNotFound = true
)
member GetVertex :
vertexId : int *
?polymorphic : bool *
?errorIfNotFound : bool
(* Defaults:
let _polymorphic = defaultArg polymorphic false
let _errorIfNotFound = defaultArg errorIfNotFound true
*)
-> Vertex
Parameters
- vertexId
- Type: SystemInt32
id of Vertex we are looking for - polymorphic (Optional)
- Type: SystemBoolean
If true and id isn't found in this VertexType continue search into sub types - errorIfNotFound (Optional)
- Type: SystemBoolean
Indicate what to do if Vertex does not exist
Return Value
Type:
VertexA Vertex or null
See Also