返回可观测到的可为空 Int32 值序列中的最大值。
Namespace:System.Reactive.Linq
装配: System.Reactive.dll) 中的 System.Reactive (
语法
'Declaration
<ExtensionAttribute> _
Public Shared Function Max ( _
source As IObservable(Of Nullable(Of Integer)) _
) As IObservable(Of Nullable(Of Integer))
'Usage
Dim source As IObservable(Of Nullable(Of Integer))
Dim returnValue As IObservable(Of Nullable(Of Integer))
returnValue = source.Max()
public static IObservable<Nullable<int>> Max(
this IObservable<Nullable<int>> source
)
[ExtensionAttribute]
public:
static IObservable<Nullable<int>>^ Max(
IObservable<Nullable<int>>^ source
)
static member Max :
source:IObservable<Nullable<int>> -> IObservable<Nullable<int>>
public static function Max(
source : IObservable<Nullable<int>>
) : IObservable<Nullable<int>>
参数
- source
类型: System.IObservable<Nullable<Int32>>
一个可为空 的 Int32 值序列,用于确定 的最大值。
返回值
类型: System.IObservable<Nullable<Int32>>
可观测到的 可为空 Int32 值序列中的最大值。
使用说明
在 Visual Basic 和 C# 中,可以在 IObservable<Nullable<Int32>> 类型的任何对象上调用此方法作为实例方法。 当使用实例方法语法调用此方法时,请省略第一个参数。 有关详细信息,请参阅或。