Click or drag to resize

EdgeTypeGetEdge Method (Int32, Boolean, Boolean)

Gets an edge given an edge id. Throws if no such edge exist.

Namespace:  VelocityGraph
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax
public Edge GetEdge(
	int edgeId,
	bool polymorphic = false,
	bool errorIfNotFound = true
)

Parameters

edgeId
Type: SystemInt32
The id of the edge
polymorphic (Optional)
Type: SystemBoolean
If true and id isn't found in this EdgeType continue search into sub types
errorIfNotFound (Optional)
Type: SystemBoolean
Indicate what to do if Edge does not exist

Return Value

Type: Edge
The edge with matching id if it exists
See Also