Qbservable.Range Method (IQbservableProvider, Int32, Int32, IScheduler)

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

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Range ( _
    provider As IQbservableProvider, _
    start As Integer, _
    count As Integer, _
    scheduler As IScheduler _
) As IQbservable(Of Integer)
'Usage
Dim provider As IQbservableProvider
Dim start As Integer
Dim count As Integer
Dim scheduler As IScheduler
Dim returnValue As IQbservable(Of Integer)

returnValue = provider.Range(start, _
    count, scheduler)
public static IQbservable<int> Range(
    this IQbservableProvider provider,
    int start,
    int count,
    IScheduler scheduler
)
[ExtensionAttribute]
public:
static IQbservable<int>^ Range(
    IQbservableProvider^ provider, 
    int start, 
    int count, 
    IScheduler^ scheduler
)
static member Range : 
        provider:IQbservableProvider * 
        start:int * 
        count:int * 
        scheduler:IScheduler -> IQbservable<int> 
public static function Range(
    provider : IQbservableProvider, 
    start : int, 
    count : int, 
    scheduler : IScheduler
) : IQbservable<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.Reactive.Linq.IQbservable<Int32>
A queryable observable sequence that contains a range of sequential integral numbers.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservableProvider. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

Range Overload

System.Reactive.Linq Namespace