Observable

Observable.Range Method (Int32, Int32)

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

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'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>

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.

Return Value

Type: System.IObservable<Int32>
An observable sequence that contains a range of sequential integral numbers.

See Also

Reference

Observable Class

Range Overload

System.Reactive.Linq Namespace

Observable.Range Method

Include Protected Members
Include Inherited Members

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

NameDescriptionPublic methodStatic memberRange(Int32, Int32)Generates an observable sequence of integral numbers within a specified range.Public methodStatic memberRange(Int32, Int32, IScheduler)Generates an observable sequence of integral numbers within a specified range.Top

See Also

Reference

Observable Class

System.Reactive.Linq Namespace

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)

Syntax

'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>

Parameters

Return Value

Type: System.IObservable<Int32>
An observable sequence that contains a range of sequential integral numbers.

See Also

Reference

Observable Class

Range Overload

System.Reactive.Linq Namespace