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:
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::SiteMapDataSourceView^A named SiteMapDataSourceView for the SiteMapNode objects in the current SiteMapNodeCollection.
.NET Framework
Available since 2.0
Available since 2.0
Show: