Observable.Max Method (IObservable<Nullable<Int64>>)
Returns the maximum value in an observable sequence of nullable Int64 values.
Namespace: System.Reactive.Linq
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Max ( _
source As IObservable(Of Nullable(Of Long)) _
) As IObservable(Of Nullable(Of Long))
'Usage
Dim source As IObservable(Of Nullable(Of Long))
Dim returnValue As IObservable(Of Nullable(Of Long))
returnValue = source.Max()
public static IObservable<Nullable<long>> Max(
this IObservable<Nullable<long>> source
)
[ExtensionAttribute]
public:
static IObservable<Nullable<long long>>^ Max(
IObservable<Nullable<long long>>^ source
)
static member Max :
source:IObservable<Nullable<int64>> -> IObservable<Nullable<int64>>
public static function Max(
source : IObservable<Nullable<long>>
) : IObservable<Nullable<long>>
Parameters
- source
Type: System.IObservable<Nullable<Int64>>
A sequence of nullable Int64 values to determine the maximum value of.
Return Value
Type: System.IObservable<Nullable<Int64>>
The maximum value in an observable sequence of nullable Int64 values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IObservable<Nullable<Int64>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .