SiteMapDataSourceView Constructor (SiteMapDataSource, String, SiteMapNodeCollection)
.NET Framework (current version)
Initializes a new named instance of the SiteMapDataSourceView class, setting the internal collection of nodes to the specified node collection.
Assembly: System.Web (in System.Web.dll)
Public Sub New ( owner As SiteMapDataSource, name As String, collection As SiteMapNodeCollection )
Parameters
- owner
-
Type:
System.Web.UI.WebControls.SiteMapDataSource
The SiteMapDataSource that the SiteMapDataSourceView is associated with.
- name
-
Type:
System.String
The name of the view.
- collection
-
Type:
System.Web.SiteMapNodeCollection
A SiteMapNodeCollection of nodes that the SiteMapDataSourceView provides a view of.
The SiteMapDataSourceView class is a wrapper class on a SiteMapNodeCollection object. Creating a SiteMapDataSourceView using the SiteMapDataSourceView constructor initializes the internal node collection with the SiteMapNodeCollection that is passed to the constructor.
.NET Framework
Available since 2.0
Available since 2.0
Show: