SiteMapNodeCollection Constructor (array<SiteMapNode^>^)

 

Initializes a new instance of the SiteMapNodeCollection class and adds the array of type SiteMapNode to the InnerList property for the collection.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
SiteMapNodeCollection(
	array<SiteMapNode^>^ value
)

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
Return to top
Show: