SiteMapNodeCollection.Insert Method
.NET Framework 3.0
Inserts the specified SiteMapNode object into the collection at the specified index.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public void Insert ( int index, SiteMapNode value )
public function Insert ( index : int, value : SiteMapNode )
Not applicable.
Parameters
- index
The zero-based index at which the SiteMapNode is inserted.
- value
The SiteMapNode to insert.
| Exception type | Condition |
|---|---|
| index is less than zero. -or- index is greater than the Count. | |
| The SiteMapNodeCollection is read-only. -or- The SiteMapNodeCollection has a fixed size. | |
| value is a null reference (Nothing in Visual Basic). |
You can test whether a SiteMapNodeCollection collection is read-only by checking the IsReadOnly property.
Community Additions
ADD
Show: