Returns a TreeNodeCollection of all child nodes
in the specified TreeNode.
Namespace: CleanCode.FormsAssembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax
public static IEnumerable<TreeNode> All( this TreeNodeCollection treeNodes )
Parameters
- treeNodes
- Type: System.Windows.Forms TreeNodeCollection
The tree nodes.
Return Value
A collection of all child tree nodes.Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type TreeNodeCollection. 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