ActiveReports 12
AsIndexed<T> Method

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.Enterprise.Data.DataEngine.Extensions Namespace > EnumerableExtensions Class : AsIndexed<T> Method
Item type
Initial sequence.
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

Reference

EnumerableExtensions Class
EnumerableExtensions Members