Represents a collection of System.Windows.Forms.TreeNode objects.
See Also: TreeNodeCollection Members
The TreeNodeCollection.Add(string), TreeNodeCollection.Remove(TreeNode), and TreeNodeCollection.RemoveAt(int) methods enable you to add and remove individual tree nodes from the collection.
Enumerating the collection and removing nodes is not supported.
You can also use the TreeNodeCollection.AddRange(TreeNode[]) or TreeNodeCollection.Clear methods to add or remove all the tree nodes from the collection.
Classes cannot inherit from the System.Windows.Forms.TreeNodeCollection class.