AsyncEnumerable.Range(Int32, 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.
Generates a sequence of integral numbers within a specified range.
public:
static System::Collections::Generic::IAsyncEnumerable<int> ^ Range(int start, int count);
public static System.Collections.Generic.IAsyncEnumerable<int> Range(int start, int count);
static member Range : int * int -> System.Collections.Generic.IAsyncEnumerable<int>
Public Function Range (start As Integer, count As Integer) As IAsyncEnumerable(Of Integer)
Parameters
- start
- Int32
The value of the first integer in the sequence.
- count
- Int32
The number of sequential integers to generate.
Returns
An IAsyncEnumerable<T> that contains a range of sequential integral numbers.
Exceptions
start
+ count
-1 is larger than MaxValue.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET