November Happy Hour will be moved to Thursday December 5th.

Class CategoryHierarchicalEnumerable

Represents a hierarchical enumarable representation of categories

Inheritance
System.Object
CategoryHierarchicalEnumerable
Implements
System.Web.UI.IHierarchicalEnumerable
System.Collections.IEnumerable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
public class CategoryHierarchicalEnumerable : IHierarchicalEnumerable, IEnumerable

Constructors

CategoryHierarchicalEnumerable(CategoryCollection)

Initializes a new instance of the CategoryHierarchicalEnumerable class.

Declaration
public CategoryHierarchicalEnumerable(CategoryCollection categories)
Parameters
Type Name Description
CategoryCollection categories

The categories.

Properties

Categories

Gets the categories.

Declaration
public CategoryCollection Categories { get; }
Property Value
Type Description
CategoryCollection

The categories.

Methods

GetEnumerator()

Returns an enumerator that iterates through a collection.

Declaration
public IEnumerator GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

An System.Collections.IEnumerator object that can be used to iterate through the collection.

GetHierarchyData(Object)

Returns a hierarchical data item for the specified enumerated item.

Declaration
public IHierarchyData GetHierarchyData(object enumeratedItem)
Parameters
Type Name Description
System.Object enumeratedItem

The System.Object for which to return an System.Web.UI.IHierarchyData.

Returns
Type Description
System.Web.UI.IHierarchyData

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

Implements

System.Web.UI.IHierarchicalEnumerable
System.Collections.IEnumerable

Extension Methods