Share via


Observable.Return<TValue> Method (TValue)

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

Syntax

'Declaration
Public Shared Function Return(Of TValue) ( _
    value As TValue _
) As IObservable(Of TValue)
public static IObservable<TValue> Return<TValue>(
    TValue value
)
public:
generic<typename TValue>
static IObservable<TValue>^ Return(
    TValue value
)
static member Return : 
        value:'TValue -> IObservable<'TValue> 

Type Parameters

  • TValue

Parameters

  • value
    Type: TValue

Return Value

Type: System.IObservable<TValue>

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

.NET Framework Security

See Also

Reference

Observable Class

Return Overload

Microsoft.Phone.Reactive Namespace