Share via


Observable.Empty<TResult> Method

Returns an empty observable sequence.

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

Syntax

'Declaration
Public Shared Function Empty(Of TResult) As IObservable(Of TResult)
'Usage
Dim returnValue As IObservable(Of TResult)

returnValue = Observable.Empty()
public static IObservable<TResult> Empty<TResult>()
public:
generic<typename TResult>
static IObservable<TResult>^ Empty()
static member Empty : unit -> IObservable<'TResult> 
JScript does not support generic types and methods.

Type Parameters

  • TResult
    The type of result.

Return Value

Type: System.IObservable<TResult>
The observable sequence with no elements.

See Also

Reference

Observable Class

Empty Overload

System.Reactive.Linq Namespace