Utils.BatchIEnumerable<T>(IEnumerable<T>, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Collections.Generic.IEnumerable<System.Collections.Generic.List<T>> BatchIEnumerable<T> (this System.Collections.Generic.IEnumerable<T> sequence, int batchSize);
static member BatchIEnumerable : seq<'T> * int -> seq<System.Collections.Generic.List<'T>>
<Extension()>
Public Iterator Function BatchIEnumerable(Of T) (sequence As IEnumerable(Of T), batchSize As Integer) As IEnumerable(Of List(Of T))
Type Parameters
- T
Parameters
- sequence
- IEnumerable<T>
- batchSize
- Int32
Returns
IEnumerable<List<T>>