ExtensionMethodsApplyFieldOrderingTField Method |
Applies the fieldordering to the enumerable specified. It first sorts on FieldIndex ascending, and then on name, ascending.
Namespace:
SD.LLBLGen.Pro.ApplicationCore
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.9.0.0 (5.9.0)
Syntax public static IEnumerable<TField> ApplyFieldOrdering<TField>(
this IEnumerable<TField> toOrder
)
where TField : IFieldElementCore
<ExtensionAttribute>
Public Shared Function ApplyFieldOrdering(Of TField As IFieldElementCore) (
toOrder As IEnumerable(Of TField)
) As IEnumerable(Of TField)
Parameters
- toOrder
- Type: System.Collections.GenericIEnumerableTField
Type Parameters
- TField
Return Value
Type:
IEnumerableTFieldthe fields in the order FieldIndex ascending, Name ascending, or null if toOrder is null
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableTField. 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