Finds vertex having the given value for the given property.
Namespace:
VelocityGraph
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public Vertex FindVertex(
PropertyType property,
IComparable v,
bool errorIfNotFound = true
)
Public Function FindVertex (
property As PropertyType,
v As IComparable,
Optional errorIfNotFound As Boolean = true
) As Vertex
public:
Vertex^ FindVertex(
PropertyType^ property,
IComparable^ v,
bool errorIfNotFound = true
)
member FindVertex :
property : PropertyType *
v : IComparable *
?errorIfNotFound : bool
(* Defaults:
let _errorIfNotFound = defaultArg errorIfNotFound true
*)
-> Vertex
Parameters
- property
- Type: VelocityGraphPropertyType
- v
- Type: SystemIComparable
a value to look for - errorIfNotFound (Optional)
- Type: SystemBoolean
if true, throw an exception if an error is found
Return Value
Type:
Vertexthe vertex matching
See Also