Observable.Range メソッド (Int32、Int32)

指定した範囲内の整数の観測可能なシーケンスを生成します。

Namespace:System.Reactive.Linq
アセンブリ: System.Reactive (System.Reactive.dll)

構文

'Declaration
Public Shared Function Range ( _
    start As Integer, _
    count As Integer _
) As IObservable(Of Integer)
'Usage
Dim start As Integer
Dim count As Integer
Dim returnValue As IObservable(Of Integer)

returnValue = Observable.Range(start, count)
public static IObservable<int> Range(
    int start,
    int count
)
public:
static IObservable<int>^ Range(
    int start, 
    int count
)
static member Range : 
        start:int * 
        count:int -> IObservable<int> 
public static function Range(
    start : int, 
    count : int
) : IObservable<int>

パラメーター

  • start
    型: System.Int32
    シーケンス内の最初の整数の値。
  • count
    型: System.Int32
    生成する連続した整数の数。

戻り値

種類: System.IObservable<Int32>
連続する整数の範囲を含む監視可能なシーケンス。

参照

リファレンス

Observable クラス

範囲オーバーロード

System.Reactive.Linq 名前空間