System.Web.SiteMapNodeCollection.Remove Method

Removes the specified System.Web.SiteMapNode object from the collection.

Syntax

public virtual void Remove (SiteMapNode value)

Parameters

value
The System.Web.SiteMapNode to remove from the System.Web.SiteMapNodeCollection.

Remarks

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

The SiteMapNodeCollection.Remove(SiteMapNode) method determines equality by calling the object.Equals(object) method.

Requirements

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