Returns a read-only collection that contains the nodes in the specified System.Web.SiteMapNodeCollection collection.
- collection
- The System.Web.SiteMapNodeCollection that contains the System.Web.SiteMapNode objects to add to the read-only System.Web.SiteMapNodeCollection.
A read-only System.Web.SiteMapNodeCollection with the same System.Web.SiteMapNode elements and structure as the original System.Web.SiteMapNodeCollection.
You can test whether a System.Web.SiteMapNodeCollection collection is read-only by checking the SiteMapNodeCollection.IsReadOnly property. The SiteMapNodeCollection.IsFixedSize property also returns true when a System.Web.SiteMapNodeCollection is read-only.