Share via


OrderByNode.CreateCollection Method

Creates a list of OrderByPropertyNode instances from a linked list of OrderByClause instances.

Namespace:  System.Web.Http.OData.Query
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Shared Function CreateCollection ( _
    orderByClause As OrderByClause _
) As IList(Of OrderByNode)
'Usage
Dim orderByClause As OrderByClause 
Dim returnValue As IList(Of OrderByNode)

returnValue = OrderByNode.CreateCollection(orderByClause)
public static IList<OrderByNode> CreateCollection(
    OrderByClause orderByClause
)
public:
static IList<OrderByNode^>^ CreateCollection(
    OrderByClause^ orderByClause
)
static member CreateCollection : 
        orderByClause:OrderByClause -> IList<OrderByNode> 
public static function CreateCollection(
    orderByClause : OrderByClause
) : IList<OrderByNode>

Parameters

  • orderByClause
    Type: OrderByClause
    The head of the OrderByClause linked list.

Return Value

Type: System.Collections.Generic.IList<OrderByNode>
The list of new OrderByPropertyNode instances.

See Also

Reference

OrderByNode Class

System.Web.Http.OData.Query Namespace