- nodes
- An array of System.Windows.Forms.TreeNode objects representing the tree nodes to add to the collection.
The System.Windows.Forms.TreeNode objects contained in the nodes array are appended to the end of the collection.
You can use the TreeNodeCollection.AddRange(TreeNode[]) method to quickly add a group of previously created System.Windows.Forms.TreeNode objects to the collection instead of manually adding each System.Windows.Forms.TreeNode to the collection using the TreeNodeCollection.Add(string) method.
To remove a System.Windows.Forms.TreeNode that you previously added, use the TreeNodeCollection.Remove(TreeNode), TreeNodeCollection.RemoveAt(int), or TreeNodeCollection.Clear methods.