A Sandcastle Documented Class Library

# HierarchyOverrides SetLevelSortOverride Method (IHierarchyLevel, HierarchyMemberPropertyCategory, SortDirection)

Sets a hierarchy level sorting override.

Namespace: Dundas.BI.Data.DataRetrieval
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 HierarchyLevelSorting SetLevelSortOverride(
    	IHierarchyLevel level,
    	HierarchyMemberPropertyCategory category,
    	SortDirection direction
    )

    Public Function SetLevelSortOverride (
    	level As IHierarchyLevel,
    	category As HierarchyMemberPropertyCategory,
    	direction As SortDirection
    ) As HierarchyLevelSorting

    public:
    HierarchyLevelSorting^ SetLevelSortOverride(
    	IHierarchyLevel^ level,
    	HierarchyMemberPropertyCategory category,
    	SortDirection direction
    )

    member SetLevelSortOverride :
            level : IHierarchyLevel *
            category : HierarchyMemberPropertyCategory *
            direction : SortDirection -> HierarchyLevelSorting

#### Parameters

level
  Type: Dundas.BI.Data.Metadata
  IHierarchyLevel
  The level.
category
  Type: Dundas.BI.Data.Metadata
  HierarchyMemberPropertyCategory
  The member property category used for sorting.
direction
  Type: Dundas.BI
  SortDirection
  The sorting direction.

#### Return Value

Type: HierarchyLevelSorting
The hierarchy level sorting object.
Exceptions

Exception | Condition
--- | ---
ArgumentNullException | level is .
ArgumentException | category is None or Custom.

See Also

#### Reference

HierarchyOverrides Class
SetLevelSortOverride Overload
Dundas.BI.Data.DataRetrieval Namespace