TaxonRelationsTreeGetAllEdges Method (Int32, 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(
int taxonId,
TaxonRelationsTreeIterationMode treeIterationMode,
bool onlyValid,
bool includeChildrenSecondaryParents = true
)
Public Function GetAllEdges (
taxonId As Integer,
treeIterationMode As TaxonRelationsTreeIterationMode,
onlyValid As Boolean,
Optional includeChildrenSecondaryParents As Boolean = true
) As HashSet(Of ITaxonRelationsTreeEdge)
public:
HashSet<ITaxonRelationsTreeEdge^>^ GetAllEdges(
int taxonId,
TaxonRelationsTreeIterationMode treeIterationMode,
bool onlyValid,
bool includeChildrenSecondaryParents = true
)
member GetAllEdges :
taxonId : int *
treeIterationMode : TaxonRelationsTreeIterationMode *
onlyValid : bool *
?includeChildrenSecondaryParents : bool
(* Defaults:
let _includeChildrenSecondaryParents = defaultArg includeChildrenSecondaryParents true
*)
-> HashSet<ITaxonRelationsTreeEdge>
Parameters
- taxonId
- Type: SystemInt32
The taxon id. - 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