System.Web.SiteMapNodeCollection.Insert Method

Inserts the specified System.Web.SiteMapNode object into the collection at the specified index.

Syntax

public virtual void Insert (int index, SiteMapNode value)

Parameters

index
The zero-based index at which the System.Web.SiteMapNode is inserted.
value
The System.Web.SiteMapNode to insert.

Remarks

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

Requirements

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