MeasureSortingSortByHierarchy Method (SortDirection, IHierarchy, IListMemberValue) |
Sorts the measure values for all the levels of the specified hierarchy.
Namespace:
Dundas.BI.Data.Metadata
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntaxpublic void SortByHierarchy(
SortDirection direction,
IHierarchy hierarchy,
IList<MemberValue> oppositeAxisMembers
)
Public Sub SortByHierarchy (
direction As SortDirection,
hierarchy As IHierarchy,
oppositeAxisMembers As IList(Of MemberValue)
)
public:
void SortByHierarchy(
SortDirection direction,
IHierarchy^ hierarchy,
IList<MemberValue^>^ oppositeAxisMembers
)
member SortByHierarchy :
direction : SortDirection *
hierarchy : IHierarchy *
oppositeAxisMembers : IList<MemberValue> -> unit
Parameters
- direction
- Type: Dundas.BISortDirection
The sort direction. - hierarchy
- Type: Dundas.BI.Data.MetadataIHierarchy
The hierarchy. - oppositeAxisMembers
- Type: System.Collections.GenericIListMemberValue
The column hierarchy members.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | hierarchy is . |
| ArgumentException | direction is invalid
or
hierarchy is not an axis hierarchy
or
oppositeAxisMembers is , empty, or not corresponding to the existing opposite axis hierarchies. |
See Also