Adds the nodes in the specified System.Web.SiteMapNodeCollection to the current collection.
- value
- A System.Web.SiteMapNodeCollection that contains the System.Web.SiteMapNode objects to add to the current System.Web.SiteMapNodeCollection.
The System.Web.SiteMapNodeCollection collection that is passed to the SiteMapNodeCollection.AddRange(SiteMapNodeCollection) method can contain null System.Web.SiteMapNode objects; however, this leads to unexpected exceptions when the System.Web.SiteMapNodeCollection is manipulated.
You cannot add a System.Web.SiteMapNode object to a read-only or fixed-size System.Web.SiteMapNodeCollection. You can test whether a System.Web.SiteMapNodeCollection is read-only by checking the SiteMapNodeCollection.IsReadOnly property.