TaxonRelationsTreeGetAllEdges Method (ICollectionITaxonRelationsTreeNode, TaxonRelationsTreeIterationMode, Boolean, Boolean) |
Gets all valid child and parent edges.
Includes both main and secondary parent/children.
Namespace: ArtDatabanken.DataAssembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax public HashSet<ITaxonRelationsTreeEdge> GetAllEdges(
ICollection<ITaxonRelationsTreeNode> treeNodes,
TaxonRelationsTreeIterationMode treeIterationMode,
bool onlyValid,
bool includeChildrenSecondaryParents = true
)
Public Function GetAllEdges (
treeNodes As ICollection(Of ITaxonRelationsTreeNode),
treeIterationMode As TaxonRelationsTreeIterationMode,
onlyValid As Boolean,
Optional includeChildrenSecondaryParents As Boolean = true
) As HashSet(Of ITaxonRelationsTreeEdge)
public:
HashSet<ITaxonRelationsTreeEdge^>^ GetAllEdges(
ICollection<ITaxonRelationsTreeNode^>^ treeNodes,
TaxonRelationsTreeIterationMode treeIterationMode,
bool onlyValid,
bool includeChildrenSecondaryParents = true
)
member GetAllEdges :
treeNodes : ICollection<ITaxonRelationsTreeNode> *
treeIterationMode : TaxonRelationsTreeIterationMode *
onlyValid : bool *
?includeChildrenSecondaryParents : bool
(* Defaults:
let _includeChildrenSecondaryParents = defaultArg includeChildrenSecondaryParents true
*)
-> HashSet<ITaxonRelationsTreeEdge>
Parameters
- treeNodes
- Type: System.Collections.GenericICollectionITaxonRelationsTreeNode
The tree nodes. - treeIterationMode
- Type: ArtDatabanken.DataTaxonRelationsTreeIterationMode
The tree iteration mode. - onlyValid
- Type: SystemBoolean
if set to true only valid relations are included. - includeChildrenSecondaryParents (Optional)
- Type: SystemBoolean
if set to true secondary parents to children are included.
Return Value
Type:
HashSetITaxonRelationsTreeEdge
A set with all child and parent edges.
See Also