SiteMapNode.GetDataSourceView Method (SiteMapDataSource, String)
.NET Framework (current version)
Retrieves the SiteMapDataSourceView object that is associated with the current node.
Assembly: System.Web (in System.Web.dll)
public SiteMapDataSourceView GetDataSourceView( SiteMapDataSource owner, string viewName )
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 current node.
.NET Framework
Available since 2.0
Available since 2.0
Show: