Class HierarchyCollection
Collection of Hierarchy Objects
Inheritance
System.Object
HierarchyCollection
Namespace: Syncfusion.Olap.UWP.Data
Assembly: Syncfusion.Olap.UWP.dll
Syntax
public class HierarchyCollection : Collection<Hierarchy>
Constructors
HierarchyCollection()
Initializes a new instance of the HierarchyCollection class.
Declaration
public HierarchyCollection()
HierarchyCollection(Dimension)
Initializes a new instance of the HierarchyCollection class.
Declaration
public HierarchyCollection(Dimension parentDimension)
Parameters
Type | Name | Description |
---|---|---|
Dimension | parentDimension | The parent dimension. |
Methods
FindByName(String)
Finds the hierarchy by its name.
Declaration
public Hierarchy FindByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the hierarchy. |
Returns
Type | Description |
---|---|
Hierarchy | The hierarchy object. |
FindByUniqueName(String)
Finds the hierarchy by its unique name.
Declaration
public Hierarchy FindByUniqueName(string uniqueName)
Parameters
Type | Name | Description |
---|---|---|
System.String | uniqueName | The unique name of the hierarchy. |
Returns
Type | Description |
---|---|
Hierarchy | The hierarchy object. |
InsertItem(Int32, Hierarchy)
Inserts an element into the System.Collections.ObjectModel.Collection<> at the specified index.
Declaration
protected override void InsertItem(int index, Hierarchy item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index at which item should be inserted. |
Hierarchy | item | The object to insert. The value can be null for reference types. |
SetItem(Int32, Hierarchy)
Replaces the element at the specified index.
Declaration
protected override void SetItem(int index, Hierarchy item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the element to replace. |
Hierarchy | item | The new value for the element at the specified index. The value can be null for reference types. |