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)
Syntax
public void SortByHierarchy(
	SortDirection direction,
	IHierarchy hierarchy,
	IList<MemberValue> oppositeAxisMembers
)

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
ExceptionCondition
ArgumentNullExceptionhierarchy is .
ArgumentExceptiondirection is invalid or hierarchy is not an axis hierarchy or oppositeAxisMembers is , empty, or not corresponding to the existing opposite axis hierarchies.
See Also