PropertyTypeTTGetPropertyVertex Method (T, Boolean, Boolean) |
Try to find a
Vertex with a given property value.
Namespace:
VelocityGraph
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public Vertex GetPropertyVertex(
T value,
bool polymorphic = false,
bool errorIfNotFound = true
)
Public Function GetPropertyVertex (
value As T,
Optional polymorphic As Boolean = false,
Optional errorIfNotFound As Boolean = true
) As Vertex
public:
Vertex^ GetPropertyVertex(
T value,
bool polymorphic = false,
bool errorIfNotFound = true
)
member GetPropertyVertex :
value : 'T *
?polymorphic : bool *
?errorIfNotFound : bool
(* Defaults:
let _polymorphic = defaultArg polymorphic false
let _errorIfNotFound = defaultArg errorIfNotFound true
*)
-> Vertex
Parameters
- value
- Type: T
The property value to look for - polymorphic (Optional)
- Type: SystemBoolean
If true, also look for property value matching vertices of property VertexType sub classes - errorIfNotFound (Optional)
- Type: SystemBoolean
If true, signal an error if no matching Vertex found
Return Value
Type:
VertexA matching Vertex
See Also