SiteMapNodeCollection.SiteMapNodeCollection(SiteMapNode) Constructor
.NET Framework 3.0
Initializes a new instance of the SiteMapNodeCollection class and adds the SiteMapNode object to the InnerList property for the collection.
Namespace: System.Web
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public SiteMapNodeCollection ( SiteMapNode value )
public function SiteMapNodeCollection ( value : SiteMapNode )
Not applicable.
Parameters
- value
A SiteMapNode to add to the SiteMapNodeCollection.
The following code example demonstrates how to create a SiteMapNodeCollection collection with a single initial SiteMapNode object, and then add a SiteMapNodeCollection of SiteMapNode objects to it using the AddRange method. You can modify the SiteMapNodeCollection, even though the individual SiteMapNode objects might be read-only.
Community Additions
ADD
Show: