Export (0) Print
Expand All

Observable.BufferWithTime(Of TSource) Method (IObservable(Of TSource), TimeSpan)

March 22, 2012

Projects each value of an observable sequence into a buffer.

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

'Declaration
<ExtensionAttribute> _
Public Shared Function BufferWithTime(Of TSource) ( _
	source As IObservable(Of TSource), _
	timeSpan As TimeSpan _
) As IObservable(Of IList(Of TSource))

Type Parameters

TSource

Parameters

source
Type: System.IObservable(Of TSource)
timeSpan
Type: System.TimeSpan

Return Value

Type: System.IObservable(Of IList(Of TSource))
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

Show:
© 2014 Microsoft