SiteMapNode.GetDataSourceView(SiteMapDataSource, String) Metodo

Definizione

Recupera l'oggetto SiteMapDataSourceView associato al nodo corrente.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

Parametri

owner
SiteMapDataSource

Controllo SiteMapDataSource al quale è associata la visualizzazione.A SiteMapDataSource control that the view is associated with.

viewName
String

Nome della vista.The name of the view.

Restituisce

Elemento SiteMapDataSourceView con nome per il nodo corrente.A named SiteMapDataSourceView for the current node.

Si applica a

Vedi anche