SiteMapNodeCollection::RemoveAt Method (Int32)
.NET Framework (current version)
Removes the SiteMapNode object at the specified index of the collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- index
-
Type:
System::Int32
The zero-based index of the element to remove.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | |
| NotSupportedException |
You can test whether a SiteMapNodeCollection collection is read-only by checking the IsReadOnly property.
To remove an element from the SiteMapNodeCollection by specifying a SiteMapNode object to remove, use the Remove method.
.NET Framework
Available since 2.0
Available since 2.0
Show: