Syncfusion.Linq.Base


Syncfusion.Linq Namespace > FunctionalExtensions Class > IterateIndex Method : IterateIndex<T>(IEnumerable<T>,Action<Int32,T>) Method
The items.
The action.

IterateIndex<T>(IEnumerable<T>,Action<Int32,T>) Method

Iterates the index.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Overloads Shared Sub IterateIndex(Of T)( _
   ByVal items As IEnumerable(Of T), _
   ByVal action As Action(Of Integer,T) _
) 
'Usage
 
Dim items As IEnumerable(Of T)
Dim action As Action(Of Integer,T)
 
FunctionalExtensions.IterateIndex(Of T)(items, action)
[Extension()]
public static void IterateIndex<T>( 
   IEnumerable<T> items,
   Action<int,T> action
)

Parameters

items
The items.
action
The action.

Type Parameters

T
AssemblyVersion

Syncfusion.Linq.Base: 17.3460.0.14

See Also