SiteMapDataSourceView.Select(DataSourceSelectArguments) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the collection of the SiteMapNode objects that represents the site navigation structure for the current user.
public:
System::Collections::IEnumerable ^ Select(System::Web::UI::DataSourceSelectArguments ^ arguments);
public System.Collections.IEnumerable Select (System.Web.UI.DataSourceSelectArguments arguments);
override this.Select : System.Web.UI.DataSourceSelectArguments -> System.Collections.IEnumerable
Public Function Select (arguments As DataSourceSelectArguments) As IEnumerable
Parameters
- arguments
- DataSourceSelectArguments
A DataSourceSelectArguments that is used to request operations on the data beyond basic data retrieval.
Returns
A SiteMapNodeCollection that represents the site navigation structure for the current user.
Exceptions
The arguments
passed to the Select(DataSourceSelectArguments) specify that the data source should perform some additional work while retrieving data to enable paging or sorting through the retrieved data, but the data source control does not support the requested capability.
Remarks
The Select method calls the ExecuteSelect method, passing the arguments
parameter. The Select method is used by controls developers but it is not used by page developers nor in page code.