Class CategoryHierarchicalEnumerable
Represents a hierarchical enumarable representation of categories
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.dll
Version: 7.19.2Syntax
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. |