A Sandcastle Documented Class Library

# GroupingElement Class

Represents a hierarchy, hierarchy level, or data element to be used for grouping.
Inheritance Hierarchy
System
Object
Dundas.BI.Entities.Views
GroupingElement
Dundas.BI.Entities.Views
GroupingHierarchy
Dundas.BI.Entities.Views
GroupingMeasure

Namespace: Dundas.BI.Entities.Views
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public abstract class GroupingElement : IEquatable<GroupingElement>

    Public MustInherit Class GroupingElement
    	Implements IEquatable(Of GroupingElement)

    public ref class GroupingElement abstract : IEquatable<GroupingElement^>

    [<AbstractClassAttribute>]
    type GroupingElement =
        class
            interface IEquatable<GroupingElement>
        end

The GroupingElement type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| DataElementStructureId | Gets or sets the ID of the original data element structure (if there is one).
| DataElementUniqueName | Gets or sets the unique name of the original data element (if there is one).
| ElementParameterLinks | Gets the element parameter links.
| ElementStructureId | Gets the ID of the structure for the underlying element.
| ElementUniqueName | Gets the unique name of the element to add.
| Id | Gets or sets the unique identifier of the grouping element.
| Placement | Gets or sets the placement of the element.
| StructureId | Gets or sets the ID of the data cube or analysis structure of the grouping hierarchy or data element.
| UniqueName | Gets or sets the unique name of the grouping hierarchy or data element.

Top
Methods

| Name | Description
--- | --- | ---
| Equals(Object) | Determines whether the specified object is equal to the current object. (Overrides Object Equals(Object).)
| Equals(GroupingElement) | Indicates whether the current object is equal to another object of the same type.
| FindElementUsage | Finds the analysis element usage that corresponds to this grouping element on metricSet.
| GetHashCode | Serves as the default hash function. (Overrides Object GetHashCode .)

Top
Remarks
This structure allows the following scenarios to be handled: 1. A hierarchy or hierarchy level from an analysis structure (StructureId, UniqueName, LevelUniqueName (optional)). 2. A data element from a data cube structure (StructureId, UniqueName). 3. A hierarchy or hierarchy level attached to a data element from a data cube structure (first adding the element DataElementStructureId and DataElementUniqueName, then replacing that element with the hierarchy StructureId, UniqueName, LevelUniqueName).
See Also

#### Reference

Dundas.BI.Entities.Views Namespace