SiteMapDataSourceView.ExecuteSelect(DataSourceSelectArguments) Metoda

Definicja

Pobiera kolekcję SiteMapNode obiektów reprezentujących strukturę nawigacji witryny dla bieżącego użytkownika.

protected public:
 override System::Collections::IEnumerable ^ ExecuteSelect(System::Web::UI::DataSourceSelectArguments ^ arguments);
protected internal override System.Collections.IEnumerable ExecuteSelect (System.Web.UI.DataSourceSelectArguments arguments);
override this.ExecuteSelect : System.Web.UI.DataSourceSelectArguments -> System.Collections.IEnumerable
Protected Friend Overrides Function ExecuteSelect (arguments As DataSourceSelectArguments) As IEnumerable

Parametry

arguments
DataSourceSelectArguments

DataSourceSelectArguments, Który jest używany do żądania operacji na danych poza podstawowe pobieranie danych.

Zwraca

IEnumerable

SiteMapNodeCollectionReprezentuje strukturę nawigacji witryny dla bieżącego użytkownika.

Wyjątki

argumentsPrzesłany do Select(DataSourceSelectArguments) Określ, że źródło danych ma wykonywać pewne dodatkowe prace podczas pobierania danych w celu włączenia stronicowania lub sortowania przez pobrane dane, ale kontrola źródła danych nie obsługuje żądanej możliwości.

Uwagi

SiteMapDataSourceViewKlasa implementuje dziedziczonej ExecuteSelect metody w celu pobrania zestawu węzłów, który reprezentuje strukturę nawigacji witryny dla bieżącej aplikacji ASP.NET. Deweloperzy stron i autorzy powiązanych danych nie wywołują ExecuteSelect metody bezpośrednio; zamiast tego należy używać publicznie uwidocznionej Select metody.

Dotyczy

Zobacz też