SiteMapNodeCollection.AddRange Method (SiteMapNode[])
.NET Framework 3.0
Adds an array of type SiteMapNode to the collection.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public void AddRange ( SiteMapNode[] value )
public function AddRange ( value : SiteMapNode[] )
Not applicable.
Parameters
- value
An array of type SiteMapNode to add to the current SiteMapNodeCollection.
The array that is passed to the AddRange method can contain a null reference (Nothing in Visual Basic) values; however, this leads to unexpected exceptions when the SiteMapNodeCollection collection 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: