DataSource for Entity Framework in WPF
C1.LiveLinq Namespace / IndexedQueryExtensions Class / OrderBy<T,TKey> Method
The type of the elements of source.
The type of the key returned by keySelector.
A collection of values to order.
A function to extract a key from an element.

In This Topic
    OrderBy<T,TKey> Method (IndexedQueryExtensions)
    In This Topic
    Sorts the elements of a collection in ascending order.
    Syntax
    'Declaration
     
    Public Shared Function OrderBy
        (Of T,TKey)( _
       ByVal source As IIndexedSource(Of T), _
       ByVal keySelector As Expression(Of Func(Of T,TKey)) _
    ) As Ordering(Of T)

    Parameters

    source
    A collection of values to order.
    keySelector
    A function to extract a key from an element.

    Type Parameters

    T
    The type of the elements of source.
    TKey
    The type of the key returned by keySelector.

    Return Value

    An C1.LiveLinq.Indexing.IIndexedSource<T> whose elements are sorted according to a key.
    See Also