SiteMapNodeCollection::Insert Method (Int32, SiteMapNode^)
.NET Framework (current version)
Inserts the specified SiteMapNode object into the collection at the specified index.
Assembly: System.Web (in System.Web.dll)
Parameters
- index
-
Type:
System::Int32
The zero-based index at which the SiteMapNode is inserted.
- value
-
Type:
System.Web::SiteMapNode^
The SiteMapNode to insert.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | |
| NotSupportedException | |
| ArgumentNullException | value is null. |
You can test whether a SiteMapNodeCollection collection is read-only by checking the IsReadOnly property.
.NET Framework
Available since 2.0
Available since 2.0
Show: