Represents a data view on a node or collection of nodes in a hierarchical data structure for a HierarchicalDataSourceControl object. This class cannot be inherited.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] public sealed class SPHierarchyDataView : HierarchicalDataSourceView
ASP.NET supports an architecture that enables Web server controls to bind to data and present it in a consistent fashion. Web server controls that bind to data are called data-bound controls, and the classes that facilitate binding are called data source controls. Data source controls can represent any data source: a file, a stream, a relational database, a business object, and so on. Data source controls present data in a consistent way to data-bound controls, regardless of the source or format of the underlying data.
A data source control can be viewed as the combination of the HierarchicalDataSourceControl object and its associated views on the underlying data, called data source view objects. While data source controls that represent tabular data are typically associated with only one named view, hierarchical data source controls support a data source 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 that is passed in the viewPath parameter.
Each HierarchicalDataSourceView object defines the capabilities of a data source control for the hierarchical level represented. Some, but not all, classes derived from the DataSourceView class perform operations such as insert, update, delete, and sort. Classes derived from HierarchicalDataSourceView objects are usually read-only.