System.Web.UI.IHierarchicalEnumerable.GetHierarchyData Method

Returns a hierarchical data item for the specified enumerated item.

Syntax

public IHierarchyData GetHierarchyData (object enumeratedItem)

Parameters

enumeratedItem
The object for which to return an System.Web.UI.IHierarchyData.

Returns

An System.Web.UI.IHierarchyData instance that represents the object passed to the IHierarchicalEnumerable.GetHierarchyData(object) method.

Remarks

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) method 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