TreeNodeCollection.Clear Method
.NET Framework 3.0
Empties the TreeNodeCollection object.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
The following example demonstrates how to use the Clear method to programmatically empty a TreeNodeCollection. Notice that the Nodes and ChildNodes properties return a TreeNodeCollection object.
Community Additions
ADD
Show:
Note: