System.Web.SiteMapNodeCollection.RemoveAt Method

Removes the System.Web.SiteMapNode object at the specified index of the collection.

Syntax

public virtual void RemoveAt (int index)

Parameters

index
The zero-based index of the element to remove.

Remarks

You can test whether a System.Web.SiteMapNodeCollection collection is read-only by checking the SiteMapNodeCollection.IsReadOnly property.

To remove an element from the System.Web.SiteMapNodeCollection by specifying a System.Web.SiteMapNode object to remove, use the SiteMapNodeCollection.Remove(SiteMapNode) method.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0