Bagikan melalui


Observable.Min Method (IObservable<Int32>)

Returns the minimum value in an observable sequence of Int32 values.

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

Syntax

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

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

Parameters

Return Value

Type: System.IObservable<Int32>
The minimum value in an observable sequence of Int32 values.

Usage Note

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

See Also

Reference

Observable Class

Min Overload

System.Reactive.Linq Namespace