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