System.Web.UI.IHierarchicalDataSource.GetHierarchicalView Method

Gets the view helper object for the System.Web.UI.IHierarchicalDataSource interface for the specified path.

Syntax

public HierarchicalDataSourceView GetHierarchicalView (string viewPath)

Parameters

viewPath
The hierarchical path of the view to retrieve.

Returns

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

Remarks

The System.Web.UI.IHierarchicalDataSource interface, like the System.Web.UI.IDataSource interface, defines a method that hierarchical data source controls use to retrieve a data source view. Like all System.Web.UI.DataSourceView helper objects that are associated with data source controls, a System.Web.UI.HierarchicalDataSourceView object defines the operations that the data source can perform with the underlying data. However, although data source controls that represent tabular data typically have only one named view, hierarchical data source controls support a view for each level of hierarchical data that the data source control represents. The level of hierarchical data is identified by a unique hierarchical path, passed as the viewPath parameter.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0