Observable.Range – metoda (Int32, Int32)
Vygeneruje pozorovatelnou sekvenci celočíselných čísel v zadaném rozsahu.
Obor názvů:System.Reactive.Linq
Sestavení: System.Reactive (v System.Reactive.dll)
Syntaxe
'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>
Parametry
- start
Typ: System.Int32
Hodnota prvního celého čísla v sekvenci.
- count
Typ: System.Int32
Počet sekvenčních celých čísel, která se mají vygenerovat.
Návratová hodnota
Typ: System.IObservable<Int32>
Pozorovatelná sekvence, která obsahuje oblast pořadových integrálních čísel.