SiteMapNodeCollection Constructor (array<SiteMapNode^>^)
.NET Framework (current version)
Initializes a new instance of the SiteMapNodeCollection class and adds the array of type SiteMapNode to the InnerList property for the collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- value
-
Type:
array<System.Web::SiteMapNode^>^
An array of type SiteMapNode to add to the SiteMapNodeCollection.
| Exception | Condition |
|---|---|
| ArgumentNullException | value is null. |
Using the SiteMapNodeCollection constructor is equivalent to calling the SiteMapNodeCollection constructor and adding elements to the SiteMapNodeCollection collection with the AddRange method.
.NET Framework
Available since 2.0
Available since 2.0
Show: