SiteMapNodeCollection.GetDataSourceView Method (SiteMapDataSource, String)
.NET Framework (current version)
Retrieves the SiteMapDataSourceView object that is associated with the nodes in the current collection.
Assembly: System.Web (in System.Web.dll)
Public Function GetDataSourceView ( owner As SiteMapDataSource, viewName As String ) As SiteMapDataSourceView
Parameters
- owner
-
Type:
System.Web.UI.WebControls.SiteMapDataSource
A SiteMapDataSource control that the view is associated with.
- viewName
-
Type:
System.String
The name of the view.
Return Value
Type: System.Web.UI.WebControls.SiteMapDataSourceViewA named SiteMapDataSourceView for the SiteMapNode objects in the current SiteMapNodeCollection.
.NET Framework
Available since 2.0
Available since 2.0
Show: