SiteMapNodeCollection.Clear Method
.NET Framework 3.0
Removes all items from the collection.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
| Exception type | Condition |
|---|---|
| The SiteMapNodeCollection is read-only. |
You can test whether a SiteMapNodeCollection collection is read-only by checking the IsReadOnly property.
To remove specific elements of the SiteMapNodeCollection, use the Remove or RemoveAt method.
Community Additions
ADD
Show: