System.Web.UI.IHierarchicalEnumerable

Represents a hierarchical collection that can be enumerated with an IEnumerator interface. Collections that implement the System.Web.UI.IHierarchicalEnumerable interface are used by ASP.NET site navigation and data source controls.

See Also: IHierarchicalEnumerable Members

Syntax

public interface IHierarchicalEnumerable : IEnumerable

Remarks

The System.Web.UI.IHierarchicalEnumerable interface extends the IEnumerable interface and exposes IHierarchicalEnumerable.GetHierarchyData(object), which is a method used to retrieve an System.Web.UI.IHierarchyData object from an enumerated item, in addition to the IEnumerable.GetEnumerator method.

Typically, clients that use System.Web.UI.IHierarchicalEnumerable collections retrieve an IEnumerator object by calling the IEnumerable.GetEnumerator method, then iterate through the enumeration and call the IHierarchicalEnumerable.GetHierarchyData(object) on each enumerated item to retrieve an System.Web.UI.IHierarchyData object.

Requirements

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