ParallelEnumerable.Range(Int32, Int32) メソッド

定義

指定した範囲内の整数の並列シーケンスを生成します。

public:
 static System::Linq::ParallelQuery<int> ^ Range(int start, int count);
public static System.Linq.ParallelQuery<int> Range(int start, int count);
static member Range : int * int -> System.Linq.ParallelQuery<int>
Public Function Range (start As Integer, count As Integer) As ParallelQuery(Of Integer)

パラメーター

start
Int32

シーケンス内の最初の整数の値。

count
Int32

生成する連続する整数の数。

返品

C# の IEnumerable<Int32>。連続する整数の範囲を含むVisual Basicの IEnumerable(Of Int32) です。

例外

count が 0 より小さいか、 start + count - 1 が Int32.MaxValue より大きい。

適用対象

こちらもご覧ください