共用方式為


Utils.BatchIEnumerable<T>(IEnumerable<T>, Int32) 方法

定義

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))

類型參數

T

參數

sequence
IEnumerable<T>
batchSize
Int32

傳回

適用於