ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.ExpressionInfo Assembly / GrapeCity.Enterprise.Data.Expressions.Tools Namespace / EnumerableExtensions Class / AsIndexed<T> Method
Item type
Initial sequence.

In This Topic
    AsIndexed<T> Method
    In This Topic
    This method extends the LINQ methods to add index for each item
    Syntax
    'Declaration
     
    Public Shared Function AsIndexed(Of T)( _
       ByVal items As IEnumerable(Of T) _
    ) As IEnumerable(Of OrderedItem(Of T))
    public static IEnumerable<OrderedItem<T>> AsIndexed<T>( 
       IEnumerable<T> items
    )

    Parameters

    items
    Initial sequence.

    Type Parameters

    T
    Item type

    Return Value

    Returns IEnumerable that represents sequence with indeses for items
    See Also