TreeNodeExtensionsAreAllNodesFromSameLevelT Method |
Determines whether all nodes in the provided enumeration have the same level (see
LevelT(T) for an explanation of level).
Namespace: Altaxo.CollectionsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool AreAllNodesFromSameLevel<T>(
this IEnumerable<T> selNodes
)
where T : Object, INodeWithParentNode<T>
Parameters
- selNodes IEnumerableT
- Enumeration of nodes
Type Parameters
- T
- Type of tree node.
Return Value
BooleanTrue if all nodes have the same level; otherwise
false.
False is also returned if the provided enumeration was empty.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableT. 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