Share via


Qbservable.Max Method (IQbservable<Nullable<Decimal>>)

Returns the maximum value in a queryable observable sequence of nullable Decimal values.

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

Syntax

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

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

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<Nullable<Decimal>>
The maximum value in a queryable observable sequence of nullable Decimal values.

Usage Note

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

See Also

Reference

Qbservable Class

Max Overload

System.Reactive.Linq Namespace