Observable.SelectMany(Of TSource, TResult) Method (IObservable(Of TSource), Func(Of TSource, IEnumerable(Of TResult)))

March 22, 2012

Projects each value of an observable sequence to an observable sequence and flattens the resulting observable sequences into one observable sequence.

Namespace:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

<ExtensionAttribute> _
Public Shared Function SelectMany(Of TSource, TResult) ( _
	source As IObservable(Of TSource), _
	selector As Func(Of TSource, IEnumerable(Of TResult)) _
) As IObservable(Of TResult)

Type Parameters



Type: System.IObservable(Of TSource)
Type: System.Func(Of TSource, IEnumerable(Of TResult))

Return Value

Type: System.IObservable(Of TResult)
Returns IObservable(Of T).

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable(Of TSource). When you use instance method syntax to call this method, omit the first parameter.

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone