Syncfusion.DataSource.WinForms


Syncfusion.DataSource.Extensions Namespace > FunctionalExtensions Class > IterateIndex Method : IterateIndex<T>(IEnumerable<T>,Action<Int32,T>,Int32) Method
Represents the generic type parameter.
Represents the items.
Represents the action.
Represents the item index.

IterateIndex<T>(IEnumerable<T>,Action<Int32,T>,Int32) 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), _
   ByVal index As Integer _
) 
'Usage
 
Dim items As IEnumerable(Of T)
Dim action As Action(Of Integer,T)
Dim index As Integer
 
FunctionalExtensions.IterateIndex(Of T)(items, action, index)
[Extension()]
public static void IterateIndex<T>( 
   IEnumerable<T> items,
   Action<int,T> action,
   int index
)

Parameters

items
Represents the items.
action
Represents the action.
index
Represents the item index.

Type Parameters

T
Represents the generic type parameter.
AssemblyVersion

Syncfusion.DataSource.WinForms: 17.3460.0.14

See Also