HierarchicalDataSourceControl.IHierarchicalDataSource.GetHierarchicalView Method (String)


This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the view helper object for the IHierarchicalDataSource interface for the specified path.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

HierarchicalDataSourceView IHierarchicalDataSource.GetHierarchicalView(
	string viewPath


Type: System.String

The hierarchical path of the view to retrieve.

Return Value

Type: System.Web.UI.HierarchicalDataSourceView

Returns a HierarchicalDataSourceView that represents a single view of the data at the hierarchical level identified by the viewPath parameter.

The GetHierarchicalView method is called by clients when a HierarchicalDataSourceControl is manipulated as an IHierarchicalDataSource interface. It delegates to the GetHierarchicalView method, which derived classes override to return strongly typed HierarchicalDataSourceView objects.

.NET Framework
Available since 2.0
Return to top