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