TreeNodeExtensionsNodesOfSameHighestLevelT Method |
Returns only the nodes with the highest hierarchy level among all the provided nodes (i.e. the nodes most close to the leaf nodes of the true).
First, the nodes collection is iterated through to determine the highest node level. Then only those nodes with the hightest node level are returned.
Namespace: Altaxo.CollectionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static HashSet<T> NodesOfSameHighestLevel<T>(
IEnumerable<T> nodes
)
where T : Object, ITreeListNodeWithParent<T>
Parameters
- nodes IEnumerableT
- Nodes to filter.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:Altaxo.Collections.TreeNodeExtensions.NodesOfSameHighestLevel``1(System.Collections.Generic.IEnumerable{``0})"]
Return Value
HashSetTOnly those nodes wich have the same highest level number among all the provided nodes.
See Also