SiteMapNodeCollection.AddRange Method (SiteMapNodeCollection)
.NET Framework 3.0
Adds the nodes in the specified SiteMapNodeCollection to the current collection.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public void AddRange ( SiteMapNodeCollection value )
public function AddRange ( value : SiteMapNodeCollection )
Not applicable.
Parameters
- value
A SiteMapNodeCollection that contains the SiteMapNode objects to add to the current SiteMapNodeCollection.
The SiteMapNodeCollection collection that is passed to the AddRange method can contain a null reference (Nothing in Visual Basic)SiteMapNode objects; however, this leads to unexpected exceptions when the SiteMapNodeCollection is manipulated.
You cannot add a SiteMapNode object to a read-only or fixed-size SiteMapNodeCollection. You can test whether a SiteMapNodeCollection is read-only by checking the IsReadOnly property.
Community Additions
ADD
Show: