Qbservable

Qbservable.Select<TSource, TResult> Method (IQbservable<TSource>, Expression<Func<TSource, Int32, TResult>>)

Projects each element of a queryable observable sequence into a new form by incorporating the element’s index with the specified source and selector.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Select(Of TSource, TResult) ( _
    source As IQbservable(Of TSource), _
    selector As Expression(Of Func(Of TSource, Integer, TResult)) _
) As IQbservable(Of TResult)
'Usage
Dim source As IQbservable(Of TSource)
Dim selector As Expression(Of Func(Of TSource, Integer, TResult))
Dim returnValue As IQbservable(Of TResult)

returnValue = source.Select(selector)
public static IQbservable<TResult> Select<TSource, TResult>(
    this IQbservable<TSource> source,
    Expression<Func<TSource, int, TResult>> selector
)
[ExtensionAttribute]
public:
generic<typename TSource, typename TResult>
static IQbservable<TResult>^ Select(
    IQbservable<TSource>^ source, 
    Expression<Func<TSource, int, TResult>^>^ selector
)
static member Select : 
        source:IQbservable<'TSource> * 
        selector:Expression<Func<'TSource, int, 'TResult>> -> IQbservable<'TResult> 
JScript does not support generic types and methods.

Type Parameters

  • TSource
    The type of source.

  • TResult
    The type of result.

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<TResult>
A queryable observable sequence into a new form.

Usage Note

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

See Also

Reference

Qbservable Class

Select Overload

System.Reactive.Linq Namespace

Qbservable.Select<TSource, TResult> Method (IQbservable<TSource>, Expression<Func<TSource, TResult>>)

Projects each element of a queryable observable sequence into a new form with the specified source and selector.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Select(Of TSource, TResult) ( _
    source As IQbservable(Of TSource), _
    selector As Expression(Of Func(Of TSource, TResult)) _
) As IQbservable(Of TResult)
'Usage
Dim source As IQbservable(Of TSource)
Dim selector As Expression(Of Func(Of TSource, TResult))
Dim returnValue As IQbservable(Of TResult)

returnValue = source.Select(selector)
public static IQbservable<TResult> Select<TSource, TResult>(
    this IQbservable<TSource> source,
    Expression<Func<TSource, TResult>> selector
)
[ExtensionAttribute]
public:
generic<typename TSource, typename TResult>
static IQbservable<TResult>^ Select(
    IQbservable<TSource>^ source, 
    Expression<Func<TSource, TResult>^>^ selector
)
static member Select : 
        source:IQbservable<'TSource> * 
        selector:Expression<Func<'TSource, 'TResult>> -> IQbservable<'TResult> 
JScript does not support generic types and methods.

Type Parameters

  • TSource
    The type of source.

  • TResult
    The type of result.

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<TResult>
A queryable observable sequence into a new form.

Usage Note

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

See Also

Reference

Qbservable Class

Select Overload

System.Reactive.Linq Namespace