ActiveReports 12
WithIndex<T> Method

GrapeCity.ActiveReports.v12 Assembly > GrapeCity.Enterprise.Data.DataEngine.Extensions Namespace > EnumerableExtensions Class : WithIndex<T> Method
Item type
The item
Index for item
Wraps an item of type T into type OrderedItem<T>, adding the specified index
Syntax
'Declaration
 
Public Shared Function WithIndex(Of T)( _
   ByVal item As T, _
   ByVal index As Integer _
) As OrderedItem(Of T)
public static OrderedItem<T> WithIndex<T>( 
   T item,
   int index
)

Parameters

item
The item
index
Index for item

Type Parameters

T
Item type

Return Value

Returns new instance OrderedItem<T> with the specified index
See Also

Reference

EnumerableExtensions Class
EnumerableExtensions Members