TaxonRelationsTreeExtensionAsBreadthFirstChildEdgeIterator Method (ICollectionITaxonRelationsTreeNode, TaxonRelationsTreeChildrenIterationMode) |
Returns a breadth first child edge iterator.
Namespace: ArtDatabanken.DataAssembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax public static IEnumerable<ITaxonRelationsTreeEdge> AsBreadthFirstChildEdgeIterator(
this ICollection<ITaxonRelationsTreeNode> treeNodes,
TaxonRelationsTreeChildrenIterationMode treeIterationMode
)
<ExtensionAttribute>
Public Shared Function AsBreadthFirstChildEdgeIterator (
treeNodes As ICollection(Of ITaxonRelationsTreeNode),
treeIterationMode As TaxonRelationsTreeChildrenIterationMode
) As IEnumerable(Of ITaxonRelationsTreeEdge)
public:
[ExtensionAttribute]
static IEnumerable<ITaxonRelationsTreeEdge^>^ AsBreadthFirstChildEdgeIterator(
ICollection<ITaxonRelationsTreeNode^>^ treeNodes,
TaxonRelationsTreeChildrenIterationMode treeIterationMode
)
[<ExtensionAttribute>]
static member AsBreadthFirstChildEdgeIterator :
treeNodes : ICollection<ITaxonRelationsTreeNode> *
treeIterationMode : TaxonRelationsTreeChildrenIterationMode -> IEnumerable<ITaxonRelationsTreeEdge>
Parameters
- treeNodes
- Type: System.Collections.GenericICollectionITaxonRelationsTreeNode
The tree nodes. - treeIterationMode
- Type: ArtDatabanken.DataTaxonRelationsTreeChildrenIterationMode
The tree iteration mode.
Return Value
Type:
IEnumerableITaxonRelationsTreeEdgeA breadth first child edge iterator.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ICollectionITaxonRelationsTreeNode. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also