ValueExtensions.OrderBy Method

Sorts the Values of a sequence according to the specified String.

Namespace:  TcHmiSrv.Core.Tools.Queries.Extensions
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public static IOrderedEnumerable<Value> OrderBy(
    this IEnumerable<Value> collection,
    string orderBy
)

Parameters

collection

Type: System.Collections.Generic.IEnumerable.Value.
The sequence of Values to order.

orderBy

Type: System.String
A String that describes how to order collection.

Return Value

Type: IOrderedEnumerable.Value.
An IOrderedEnumerable.TElement. whose Values are sorted according to orderBy.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable.Value.. 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).

Reference

ValueExtensions Class

TcHmiSrv.Core.Tools.Queries.Extensions Namespace