Export (0) Print
Expand All

Observable.Repeat(Of TResult) Method (TResult, Int32)

Generates an observable sequence that repeats the given element the specified number of times.

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

'Declaration
Public Shared Function Repeat(Of TResult) ( _
	value As TResult, _
	repeatCount As Integer _
) As IObservable(Of TResult)
'Usage
Dim value As TResult
Dim repeatCount As Integer
Dim returnValue As IObservable(Of TResult)

returnValue = Observable.Repeat(value, _
	repeatCount)

Type Parameters

TResult

The type of result.

Parameters

value
Type: TResult
The element to repeat.
repeatCount
Type: System.Int32
The number of times to repeat the element.

Return Value

Type: System.IObservable(Of TResult)
An observable sequence that repeats the given element the specified number of times.
Show:
© 2014 Microsoft