共用方式為


Observable.Min 方法 (IObservable < Int32 >)

傳回 Int32 值可觀察序列中的最小值。

Namespace:System.Reactive.Linq
裝配: System.Reactive.dll) 中的 System.Reactive (

語法

'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>

參數

傳回值

類型:System.IObservable<Int32>
Int32值可觀察序列中的最小值。

使用注意事項

在 Visual Basic 和 C# 中,您可以在IObservable<Int32> 類型的任何物件上呼叫這個方法作為實例方法。 使用執行個體方法語法呼叫這個方法時,請省略第一個參數。 如需詳細資訊,請參閱

另請參閱

參考

Observable 類別

最小多載

System.Reactive.Linq 命名空間