Click or drag to resize
TaxonRelationsTreeGetAllChildAndParentEdges Method (ICollectionITaxonRelationsTreeNode, Boolean, Boolean)
Gets all child and parent edges. Includes both valid and invalid edges. Includes both main and secondary parent/children.

Namespace: ArtDatabanken.Data
Assembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
public HashSet<ITaxonRelationsTreeEdge> GetAllChildAndParentEdges(
	ICollection<ITaxonRelationsTreeNode> treeNodes,
	bool onlyValid,
	bool includeChildrenSecondaryParents = true
)

Parameters

treeNodes
Type: System.Collections.GenericICollectionITaxonRelationsTreeNode
The tree nodes.
onlyValid
Type: SystemBoolean
Include only valid edges.
includeChildrenSecondaryParents (Optional)
Type: SystemBoolean
Include secondary parents to children.

Return Value

Type: HashSetITaxonRelationsTreeEdge
A set with all child and parent edges.
See Also