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