A Sandcastle Documented Class Library

# HierarchyLevelSorting Constructor (IHierarchyLevel, String, SortDirection)

Initializes a new instance of the HierarchyLevelSorting class.

Namespace: Dundas.BI.Data.Metadata
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(
    	IHierarchyLevel level,
    	string memberProperty,
    	SortDirection direction
    )

    Public Sub New (
    	level As IHierarchyLevel,
    	memberProperty As String,
    	direction As SortDirection
    )

    public:
    HierarchyLevelSorting(
    	IHierarchyLevel^ level,
    	String^ memberProperty,
    	SortDirection direction
    )

    new :
            level : IHierarchyLevel *
            memberProperty : string *
            direction : SortDirection -> HierarchyLevelSorting

#### Parameters

level
  Type: Dundas.BI.Data.Metadata
  IHierarchyLevel
  The level.
memberProperty
  Type: System
  String
  The member property to be used for sorting.
direction
  Type: Dundas.BI
  SortDirection
  The sorting direction.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | level is .
ArgumentException | memberProperty is or Empty.

See Also

#### Reference

HierarchyLevelSorting Class
HierarchyLevelSorting Overload
Dundas.BI.Data.Metadata Namespace