Exposes a node of a hierarchical data structure, including the node object and some properties that describe characteristics of the node. Objects that implement the IHierarchicalEnumerable collections, and are used by ASP.NET site navigation and data source controls.interface can be contained in
Assembly: System.Web (in System.Web.dll)
The IHierarchicalEnumerable interface.interface is implemented by classes that represent nodes of a hierarchical structure, and track the hierarchical relationships to their parent and child nodes. Classes that implement the interface can be contained in collections that implement the
The following code example demonstrates how to implement the FileSystemInfo object. The FileSystemInfo class is a good example of a hierarchical data node, which the interface represents for ASP.NET hierarchical data source controls. This code example is part of a larger example provided for the HierarchicalDataSourceControl class.interface with a class that wraps a
The following code example demonstrates how to recursively iterate through an IHierarchicalEnumerable collection, extract the item from the enumerator using the GetHierarchyData method, and perform basic work with the data item.
Available since 2.0