Bearbeiten

Freigeben über


SiteMapNodeCollection.GetDataSourceView(SiteMapDataSource, String) Method

Definition

Retrieves the SiteMapDataSourceView object that is associated with the nodes in the current collection.

public:
 System::Web::UI::WebControls::SiteMapDataSourceView ^ GetDataSourceView(System::Web::UI::WebControls::SiteMapDataSource ^ owner, System::String ^ viewName);
public System.Web.UI.WebControls.SiteMapDataSourceView GetDataSourceView (System.Web.UI.WebControls.SiteMapDataSource owner, string viewName);
member this.GetDataSourceView : System.Web.UI.WebControls.SiteMapDataSource * string -> System.Web.UI.WebControls.SiteMapDataSourceView
Public Function GetDataSourceView (owner As SiteMapDataSource, viewName As String) As SiteMapDataSourceView

Parameters

owner
SiteMapDataSource

A SiteMapDataSource control that the view is associated with.

viewName
String

The name of the view.

Returns

A named SiteMapDataSourceView for the SiteMapNode objects in the current SiteMapNodeCollection.

Applies to

See also