ExtensionMethods.ApplyFieldOrdering<TField> 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.8.0.0 (5.8.21.0208)
Syntaxpublic 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.Generic.IEnumerable<TField>
Type Parameters
- TField
Return Value
Type:
IEnumerable<TField>the 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
IEnumerable<TField>. 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