Export (0) Print
Expand All

Observable.Range Method (Int32, Int32, IScheduler)

Generates an observable sequence of integral numbers within a specified range.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in 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)

Parameters

start
Type: System.Int32
The value of the first integer in the sequence.
count
Type: System.Int32
The number of sequential integers to generate.
scheduler
Type: System.Reactive.Concurrency.IScheduler
The scheduler to run the generator loop on.

Return Value

Type: System.IObservable(Of Int32)
An observable sequence that contains a range of sequential integral numbers.
Show:
© 2014 Microsoft