TaxonRelationsTreeGetAllEdges Method (ITaxonRelationsTreeNode, 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(
ITaxonRelationsTreeNode treeNode,
TaxonRelationsTreeIterationMode treeIterationMode,
bool onlyValid,
bool includeChildrenSecondaryParents = true
)
Public Function GetAllEdges (
treeNode As ITaxonRelationsTreeNode,
treeIterationMode As TaxonRelationsTreeIterationMode,
onlyValid As Boolean,
Optional includeChildrenSecondaryParents As Boolean = true
) As HashSet(Of ITaxonRelationsTreeEdge)
public:
HashSet<ITaxonRelationsTreeEdge^>^ GetAllEdges(
ITaxonRelationsTreeNode^ treeNode,
TaxonRelationsTreeIterationMode treeIterationMode,
bool onlyValid,
bool includeChildrenSecondaryParents = true
)
member GetAllEdges :
treeNode : ITaxonRelationsTreeNode *
treeIterationMode : TaxonRelationsTreeIterationMode *
onlyValid : bool *
?includeChildrenSecondaryParents : bool
(* Defaults:
let _includeChildrenSecondaryParents = defaultArg includeChildrenSecondaryParents true
*)
-> HashSet<ITaxonRelationsTreeEdge>
Parameters
- treeNode
- Type: ArtDatabanken.DataITaxonRelationsTreeNode
The tree node. - 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