A Sandcastle Documented Class Library

# ModelDataExtensions CopyToLevelSorting Method

Copies to level sorting.

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

    public static void CopyToLevelSorting(
    	this IList<HierarchyLevelSortingData> source,
    	IReadOnlyList<HierarchyLevelSorting> destination,
    	HierarchySorting parent
    )

    <ExtensionAttribute>
    Public Shared Sub CopyToLevelSorting (
    	source As IList(Of HierarchyLevelSortingData),
    	destination As IReadOnlyList(Of HierarchyLevelSorting),
    	parent As HierarchySorting
    )

    public:
    [ExtensionAttribute]
    static void CopyToLevelSorting(
    	IList<HierarchyLevelSortingData^>^ source,
    	IReadOnlyList<HierarchyLevelSorting^>^ destination,
    	HierarchySorting^ parent
    )

    [<ExtensionAttribute>]
    static member CopyToLevelSorting :
            source : IList<HierarchyLevelSortingData> *
            destination : IReadOnlyList<HierarchyLevelSorting> *
            parent : HierarchySorting -> unit

#### Parameters

source
  Type: System.Collections.Generic
  IList
  HierarchyLevelSortingData
  The source.
destination
  Type: System.Collections.Generic
  IReadOnlyList
  HierarchyLevelSorting
  The destination.
parent
  Type: Dundas.BI.Data.Metadata
  HierarchySorting
  The parent.

#### Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IList
HierarchyLevelSortingData
. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

#### Reference

ModelDataExtensions Class
Dundas.BI.WebApi.Models Namespace