Observable.Max Method (IObservable<Decimal>)

Returns the maximum value in an observable sequence of Decimal values.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Max ( _
    source As IObservable(Of Decimal) _
) As IObservable(Of Decimal)
'Usage
Dim source As IObservable(Of Decimal)
Dim returnValue As IObservable(Of Decimal)

returnValue = source.Max()
public static IObservable<decimal> Max(
    this IObservable<decimal> source
)
[ExtensionAttribute]
public:
static IObservable<Decimal>^ Max(
    IObservable<Decimal>^ source
)
static member Max : 
        source:IObservable<decimal> -> IObservable<decimal> 
public static function Max(
    source : IObservable<decimal>
) : IObservable<decimal>

Parameters

Return Value

Type: System.IObservable<Decimal>
The maximum value in an observable sequence of Decimal values.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable<Decimal>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Observable Class

Max Overload

System.Reactive.Linq Namespace