GetDataSourceView Method

SiteMapNode.GetDataSourceView Method (SiteMapDataSource, String)

 

Retrieves the SiteMapDataSourceView object that is associated with the current node.

Namespace:   System.Web
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 current node.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft