Observable.Range メソッド (Int32、Int32、IScheduler)
指定した範囲内の整数の観測可能なシーケンスを生成します。
Namespace:System.Reactive.Linq
アセンブリ: System.Reactive (System.Reactive.dll)
構文
'Declaration
Public Shared Function Range ( _
start As Integer, _
count As Integer, _
scheduler As IScheduler _
) As IObservable(Of Integer)
'Usage
Dim start As Integer
Dim count As Integer
Dim scheduler As IScheduler
Dim returnValue As IObservable(Of Integer)
returnValue = Observable.Range(start, count, _
scheduler)
public static IObservable<int> Range(
int start,
int count,
IScheduler scheduler
)
public:
static IObservable<int>^ Range(
int start,
int count,
IScheduler^ scheduler
)
static member Range :
start:int *
count:int *
scheduler:IScheduler -> IObservable<int>
public static function Range(
start : int,
count : int,
scheduler : IScheduler
) : IObservable<int>
パラメーター
- start
種類: System.Int32
シーケンス内の最初の整数の値。
- count
種類: System.Int32
生成する連続した整数の数。
- scheduler
種類: System.Reactive.Concurrency.IScheduler
ジェネレーター ループを実行するスケジューラ。
戻り値
種類: System.IObservable<Int32>
連続する整数の範囲を含む監視可能なシーケンス。