SiteMapNodeCollection.GetDataSourceView(SiteMapDataSource, String) Metodo

Definizione

Recupera l'oggetto SiteMapDataSourceView associato ai nodi della raccolta corrente.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

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

SiteMapDataSourceView

Elemento SiteMapDataSourceView denominato per gli oggetti SiteMapNode nell'elemento SiteMapNodeCollection corrente.A named SiteMapDataSourceView for the SiteMapNode objects in the current SiteMapNodeCollection.

Si applica a

Vedi anche