SiteMapNode.GetDataSourceView(SiteMapDataSource, String) Method

Definition

Ruft das SiteMapDataSourceView-Objekt ab, das dem aktuellen Knoten zugeordnet ist.Retrieves the SiteMapDataSourceView object that is associated with the current node.

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

Ein SiteMapDataSource-Steuerelement, dem die Ansicht zugeordnet ist.A SiteMapDataSource control that the view is associated with.

viewName
String

Der Name der Sicht.The name of the view.

Returns

SiteMapDataSourceView

Eine benannte SiteMapDataSourceView für den aktuellen Knoten.A named SiteMapDataSourceView for the current node.

Applies to

See also