Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SiteMapNode.GetDataSourceView Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft