SiteMapNode.GetDataSourceView(SiteMapDataSource, String) Metodo

Definizione

Recupera l'oggetto SiteMapDataSourceView associato al nodo corrente.

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.

viewName
String

Nome della vista.

Restituisce

Elemento SiteMapDataSourceView con nome per il nodo corrente.

Si applica a

Vedi anche