Window<TKey,TSource>.Sum 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| Sum(Expression<Func<TSource,UInt32>>) |
使用「snapshot windows」 (SI 術語) 計算對 uint 的時間敏感總和匯總。 |
| Sum(Expression<Func<TSource,UInt16>>) |
使用「快照集視窗」 (SI 術語) ,計算逾時總和匯總。 |
| Sum(Expression<Func<TSource,Single>>) |
使用「snapshot windows」 (SI 術語) 計算浮點數的時間敏感總和匯總。 |
| Sum(Expression<Func<TSource,SByte>>) |
使用「snapshot windows」 (SI 術語) ,計算對 Sbytes 的時間敏感總和匯總。 |
| Sum(Expression<Func<TSource,UInt64>>) |
使用「snapshot windows」 (SI 術語) ,計算對 ulong 進行時間敏感總和匯總。 |
| Sum(Expression<Func<TSource,BigInteger>>) |
使用 「snapshot windows」 (SI 術語) 計算 BigIntegers 的時間敏感總和匯總。 |
| Sum(Expression<Func<TSource,Nullable<UInt64>>>) |
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的 ulong 計算時間敏感總和匯總。 請注意,Null 對總和沒有任何影響。 |
| Sum(Expression<Func<TSource,Nullable<UInt32>>>) |
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的 uint 計算時間敏感總和匯總。 請注意,Null 對總和沒有任何影響。 |
| Sum(Expression<Func<TSource,Nullable<UInt16>>>) |
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的 ushorts 計算時間敏感總和匯總。 請注意,Null 對總和沒有任何影響。 |
| Sum(Expression<Func<TSource,Nullable<Single>>>) |
使用「snapshot windows」 (SI 術語) ,在可為 Null 的浮點數上計算時間敏感總和匯總。 請注意,Null 對總和沒有任何影響。 |
| Sum(Expression<Func<TSource,Nullable<SByte>>>) |
使用「snapshot windows」 (SI 術語) ,計算可為 Null 之 Sbytes 的時間敏感總和匯總。 請注意,Null 對總和沒有任何影響。 |
| Sum(Expression<Func<TSource,Nullable<Complex>>>) |
使用「snapshot windows」 (SI 術語,透過可為 Null 的複雜值計算時間敏感總和匯總) 。 請注意,Null 對總和沒有任何影響。 |
| Sum(Expression<Func<TSource,Complex>>) |
使用「snapshot windows」 (SI 術語) 計算複雜複本的時間敏感總和匯總。 |
| Sum(Expression<Func<TSource,Nullable<Int64>>>) |
使用「snapshot windows」 (SI 術語) ,計算可 Null long 的時效總和匯總。 請注意,Null 對總和沒有任何影響。 |
| Sum(Expression<Func<TSource,Nullable<BigInteger>>>) |
使用 「snapshot windows」 (SI 術語) ,透過可為 Null 的 BigIntegers 計算時間敏感總和匯總。 請注意,Null 對總和沒有任何影響。 |
| Sum(Expression<Func<TSource,Byte>>) |
使用「snapshot windows」 (SI 術語) 計算位元組的時間敏感總和匯總。 |
| Sum(Expression<Func<TSource,Decimal>>) |
使用「snapshot windows」 (SI 術語) ,計算與小數點相關的時間總和匯總。 |
| Sum(Expression<Func<TSource,Double>>) |
使用「snapshot windows」 (SI 術語) ,計算加倍的時間敏感總和匯總。 |
| Sum(Expression<Func<TSource,Int32>>) |
使用「snapshot windows」 (SI 術語) ,計算對 int 的時間敏感度總和匯總。 |
| Sum(Expression<Func<TSource,Int16>>) |
使用「快照集視窗」 (SI 術語) ,計算簡短摘要的時效總和匯總。 |
| Sum(Expression<Func<TSource,Nullable<Byte>>>) |
使用 「snapshot windows」 (SI 術語) ,計算可 Null 位元組的時效總和匯總。 請注意,Null 對總和沒有任何影響。 |
| Sum(Expression<Func<TSource,Nullable<Decimal>>>) |
使用「snapshot windows」 (SI 術語) ,以計算可 Null 小數的時效總和匯總。 請注意,Null 對總和沒有任何影響。 |
| Sum(Expression<Func<TSource,Nullable<Double>>>) |
使用 「snapshot windows」 (SI 術語) ,計算可 Null 雙精度浮點數的時效總和匯總。 請注意,Null 對總和沒有任何影響。 |
| Sum(Expression<Func<TSource,Nullable<Int16>>>) |
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的簡短資料計算時間敏感總和匯總。 請注意,Null 對總和沒有任何影響。 |
| Sum(Expression<Func<TSource,Nullable<Int32>>>) |
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的 int 計算時間敏感總和匯總。 請注意,Null 對總和沒有任何影響。 |
| Sum(Expression<Func<TSource,Int64>>) |
使用「snapshot windows」 (SI 術語) ,以長時間計算時間敏感總和匯總。 |
Sum(Expression<Func<TSource,UInt32>>)
使用「snapshot windows」 (SI 術語) 計算對 uint 的時間敏感總和匯總。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,uint,uint> Sum(System.Linq.Expressions.Expression<Func<TSource,uint>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, uint32>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, uint32, uint32>
Public Function Sum (selector As Expression(Of Func(Of TSource, UInteger))) As IAggregate(Of TSource, UInteger, UInteger)
參數
- selector
- Expression<Func<TSource,UInt32>>
傳回
適用於
Sum(Expression<Func<TSource,UInt16>>)
使用「快照集視窗」 (SI 術語) ,計算逾時總和匯總。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,ushort,ushort> Sum(System.Linq.Expressions.Expression<Func<TSource,ushort>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, uint16>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, uint16, uint16>
Public Function Sum (selector As Expression(Of Func(Of TSource, UShort))) As IAggregate(Of TSource, UShort, UShort)
參數
- selector
- Expression<Func<TSource,UInt16>>
傳回
適用於
Sum(Expression<Func<TSource,Single>>)
使用「snapshot windows」 (SI 術語) 計算浮點數的時間敏感總和匯總。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,float,float> Sum(System.Linq.Expressions.Expression<Func<TSource,float>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, single>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, single, single>
Public Function Sum (selector As Expression(Of Func(Of TSource, Single))) As IAggregate(Of TSource, Single, Single)
參數
- selector
- Expression<Func<TSource,Single>>
傳回
適用於
Sum(Expression<Func<TSource,SByte>>)
使用「snapshot windows」 (SI 術語) ,計算對 Sbytes 的時間敏感總和匯總。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,sbyte,sbyte> Sum(System.Linq.Expressions.Expression<Func<TSource,sbyte>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, sbyte>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, sbyte, sbyte>
Public Function Sum (selector As Expression(Of Func(Of TSource, SByte))) As IAggregate(Of TSource, SByte, SByte)
參數
- selector
- Expression<Func<TSource,SByte>>
傳回
適用於
Sum(Expression<Func<TSource,UInt64>>)
使用「snapshot windows」 (SI 術語) ,計算對 ulong 進行時間敏感總和匯總。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,ulong,ulong> Sum(System.Linq.Expressions.Expression<Func<TSource,ulong>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, uint64>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, uint64, uint64>
Public Function Sum (selector As Expression(Of Func(Of TSource, ULong))) As IAggregate(Of TSource, ULong, ULong)
參數
- selector
- Expression<Func<TSource,UInt64>>
傳回
適用於
Sum(Expression<Func<TSource,BigInteger>>)
使用 「snapshot windows」 (SI 術語) 計算 BigIntegers 的時間敏感總和匯總。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,System.Numerics.BigInteger,System.Numerics.BigInteger> Sum(System.Linq.Expressions.Expression<Func<TSource,System.Numerics.BigInteger>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, System.Numerics.BigInteger>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, System.Numerics.BigInteger, System.Numerics.BigInteger>
Public Function Sum (selector As Expression(Of Func(Of TSource, BigInteger))) As IAggregate(Of TSource, BigInteger, BigInteger)
參數
- selector
- Expression<Func<TSource,BigInteger>>
傳回
適用於
Sum(Expression<Func<TSource,Nullable<UInt64>>>)
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的 ulong 計算時間敏感總和匯總。 請注意,Null 對總和沒有任何影響。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,ulong,ulong> Sum(System.Linq.Expressions.Expression<Func<TSource,Nullable<ulong>>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, Nullable<uint64>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, uint64, uint64>
Public Function Sum (selector As Expression(Of Func(Of TSource, Nullable(Of ULong)))) As IAggregate(Of TSource, ULong, ULong)
參數
- selector
- Expression<Func<TSource,Nullable<UInt64>>>
傳回
適用於
Sum(Expression<Func<TSource,Nullable<UInt32>>>)
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的 uint 計算時間敏感總和匯總。 請注意,Null 對總和沒有任何影響。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,uint,uint> Sum(System.Linq.Expressions.Expression<Func<TSource,Nullable<uint>>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, Nullable<uint32>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, uint32, uint32>
Public Function Sum (selector As Expression(Of Func(Of TSource, Nullable(Of UInteger)))) As IAggregate(Of TSource, UInteger, UInteger)
參數
- selector
- Expression<Func<TSource,Nullable<UInt32>>>
傳回
適用於
Sum(Expression<Func<TSource,Nullable<UInt16>>>)
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的 ushorts 計算時間敏感總和匯總。 請注意,Null 對總和沒有任何影響。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,ushort,ushort> Sum(System.Linq.Expressions.Expression<Func<TSource,Nullable<ushort>>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, Nullable<uint16>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, uint16, uint16>
Public Function Sum (selector As Expression(Of Func(Of TSource, Nullable(Of UShort)))) As IAggregate(Of TSource, UShort, UShort)
參數
- selector
- Expression<Func<TSource,Nullable<UInt16>>>
傳回
適用於
Sum(Expression<Func<TSource,Nullable<Single>>>)
使用「snapshot windows」 (SI 術語) ,在可為 Null 的浮點數上計算時間敏感總和匯總。 請注意,Null 對總和沒有任何影響。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,float,float> Sum(System.Linq.Expressions.Expression<Func<TSource,Nullable<float>>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, Nullable<single>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, single, single>
Public Function Sum (selector As Expression(Of Func(Of TSource, Nullable(Of Single)))) As IAggregate(Of TSource, Single, Single)
參數
- selector
- Expression<Func<TSource,Nullable<Single>>>
傳回
適用於
Sum(Expression<Func<TSource,Nullable<SByte>>>)
使用「snapshot windows」 (SI 術語) ,計算可為 Null 之 Sbytes 的時間敏感總和匯總。 請注意,Null 對總和沒有任何影響。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,sbyte,sbyte> Sum(System.Linq.Expressions.Expression<Func<TSource,Nullable<sbyte>>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, Nullable<sbyte>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, sbyte, sbyte>
Public Function Sum (selector As Expression(Of Func(Of TSource, Nullable(Of SByte)))) As IAggregate(Of TSource, SByte, SByte)
參數
- selector
- Expression<Func<TSource,Nullable<SByte>>>
傳回
適用於
Sum(Expression<Func<TSource,Nullable<Complex>>>)
使用「snapshot windows」 (SI 術語,透過可為 Null 的複雜值計算時間敏感總和匯總) 。 請注意,Null 對總和沒有任何影響。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,System.Numerics.Complex,System.Numerics.Complex> Sum(System.Linq.Expressions.Expression<Func<TSource,Nullable<System.Numerics.Complex>>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, Nullable<System.Numerics.Complex>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, System.Numerics.Complex, System.Numerics.Complex>
Public Function Sum (selector As Expression(Of Func(Of TSource, Nullable(Of Complex)))) As IAggregate(Of TSource, Complex, Complex)
參數
- selector
- Expression<Func<TSource,Nullable<Complex>>>
傳回
適用於
Sum(Expression<Func<TSource,Complex>>)
使用「snapshot windows」 (SI 術語) 計算複雜複本的時間敏感總和匯總。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,System.Numerics.Complex,System.Numerics.Complex> Sum(System.Linq.Expressions.Expression<Func<TSource,System.Numerics.Complex>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, System.Numerics.Complex>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, System.Numerics.Complex, System.Numerics.Complex>
Public Function Sum (selector As Expression(Of Func(Of TSource, Complex))) As IAggregate(Of TSource, Complex, Complex)
參數
- selector
- Expression<Func<TSource,Complex>>
傳回
適用於
Sum(Expression<Func<TSource,Nullable<Int64>>>)
使用「snapshot windows」 (SI 術語) ,計算可 Null long 的時效總和匯總。 請注意,Null 對總和沒有任何影響。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,long,long> Sum(System.Linq.Expressions.Expression<Func<TSource,Nullable<long>>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, Nullable<int64>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, int64, int64>
Public Function Sum (selector As Expression(Of Func(Of TSource, Nullable(Of Long)))) As IAggregate(Of TSource, Long, Long)
參數
- selector
- Expression<Func<TSource,Nullable<Int64>>>
傳回
適用於
Sum(Expression<Func<TSource,Nullable<BigInteger>>>)
使用 「snapshot windows」 (SI 術語) ,透過可為 Null 的 BigIntegers 計算時間敏感總和匯總。 請注意,Null 對總和沒有任何影響。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,System.Numerics.BigInteger,System.Numerics.BigInteger> Sum(System.Linq.Expressions.Expression<Func<TSource,Nullable<System.Numerics.BigInteger>>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, Nullable<System.Numerics.BigInteger>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, System.Numerics.BigInteger, System.Numerics.BigInteger>
Public Function Sum (selector As Expression(Of Func(Of TSource, Nullable(Of BigInteger)))) As IAggregate(Of TSource, BigInteger, BigInteger)
參數
- selector
- Expression<Func<TSource,Nullable<BigInteger>>>
傳回
適用於
Sum(Expression<Func<TSource,Byte>>)
使用「snapshot windows」 (SI 術語) 計算位元組的時間敏感總和匯總。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,byte,byte> Sum(System.Linq.Expressions.Expression<Func<TSource,byte>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, byte>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, byte, byte>
Public Function Sum (selector As Expression(Of Func(Of TSource, Byte))) As IAggregate(Of TSource, Byte, Byte)
參數
- selector
- Expression<Func<TSource,Byte>>
傳回
適用於
Sum(Expression<Func<TSource,Decimal>>)
使用「snapshot windows」 (SI 術語) ,計算與小數點相關的時間總和匯總。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,decimal,decimal> Sum(System.Linq.Expressions.Expression<Func<TSource,decimal>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, decimal>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, decimal, decimal>
Public Function Sum (selector As Expression(Of Func(Of TSource, Decimal))) As IAggregate(Of TSource, Decimal, Decimal)
參數
- selector
- Expression<Func<TSource,Decimal>>
傳回
適用於
Sum(Expression<Func<TSource,Double>>)
使用「snapshot windows」 (SI 術語) ,計算加倍的時間敏感總和匯總。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,double,double> Sum(System.Linq.Expressions.Expression<Func<TSource,double>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, double>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, double, double>
Public Function Sum (selector As Expression(Of Func(Of TSource, Double))) As IAggregate(Of TSource, Double, Double)
參數
- selector
- Expression<Func<TSource,Double>>
傳回
適用於
Sum(Expression<Func<TSource,Int32>>)
使用「snapshot windows」 (SI 術語) ,計算對 int 的時間敏感度總和匯總。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,int,int> Sum(System.Linq.Expressions.Expression<Func<TSource,int>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, int>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, int, int>
Public Function Sum (selector As Expression(Of Func(Of TSource, Integer))) As IAggregate(Of TSource, Integer, Integer)
參數
- selector
- Expression<Func<TSource,Int32>>
傳回
適用於
Sum(Expression<Func<TSource,Int16>>)
使用「快照集視窗」 (SI 術語) ,計算簡短摘要的時效總和匯總。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,short,short> Sum(System.Linq.Expressions.Expression<Func<TSource,short>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, int16>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, int16, int16>
Public Function Sum (selector As Expression(Of Func(Of TSource, Short))) As IAggregate(Of TSource, Short, Short)
參數
- selector
- Expression<Func<TSource,Int16>>
傳回
適用於
Sum(Expression<Func<TSource,Nullable<Byte>>>)
使用 「snapshot windows」 (SI 術語) ,計算可 Null 位元組的時效總和匯總。 請注意,Null 對總和沒有任何影響。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,byte,byte> Sum(System.Linq.Expressions.Expression<Func<TSource,Nullable<byte>>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, Nullable<byte>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, byte, byte>
Public Function Sum (selector As Expression(Of Func(Of TSource, Nullable(Of Byte)))) As IAggregate(Of TSource, Byte, Byte)
參數
- selector
- Expression<Func<TSource,Nullable<Byte>>>
傳回
適用於
Sum(Expression<Func<TSource,Nullable<Decimal>>>)
使用「snapshot windows」 (SI 術語) ,以計算可 Null 小數的時效總和匯總。 請注意,Null 對總和沒有任何影響。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,decimal,decimal> Sum(System.Linq.Expressions.Expression<Func<TSource,Nullable<decimal>>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, Nullable<decimal>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, decimal, decimal>
Public Function Sum (selector As Expression(Of Func(Of TSource, Nullable(Of Decimal)))) As IAggregate(Of TSource, Decimal, Decimal)
參數
- selector
- Expression<Func<TSource,Nullable<Decimal>>>
傳回
適用於
Sum(Expression<Func<TSource,Nullable<Double>>>)
使用 「snapshot windows」 (SI 術語) ,計算可 Null 雙精度浮點數的時效總和匯總。 請注意,Null 對總和沒有任何影響。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,double,double> Sum(System.Linq.Expressions.Expression<Func<TSource,Nullable<double>>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, Nullable<double>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, double, double>
Public Function Sum (selector As Expression(Of Func(Of TSource, Nullable(Of Double)))) As IAggregate(Of TSource, Double, Double)
參數
- selector
- Expression<Func<TSource,Nullable<Double>>>
傳回
適用於
Sum(Expression<Func<TSource,Nullable<Int16>>>)
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的簡短資料計算時間敏感總和匯總。 請注意,Null 對總和沒有任何影響。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,short,short> Sum(System.Linq.Expressions.Expression<Func<TSource,Nullable<short>>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, Nullable<int16>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, int16, int16>
Public Function Sum (selector As Expression(Of Func(Of TSource, Nullable(Of Short)))) As IAggregate(Of TSource, Short, Short)
參數
- selector
- Expression<Func<TSource,Nullable<Int16>>>
傳回
適用於
Sum(Expression<Func<TSource,Nullable<Int32>>>)
使用「snapshot windows」 (SI 術語) ,透過可為 Null 的 int 計算時間敏感總和匯總。 請注意,Null 對總和沒有任何影響。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,int,int> Sum(System.Linq.Expressions.Expression<Func<TSource,Nullable<int>>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, Nullable<int>>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, int, int>
Public Function Sum (selector As Expression(Of Func(Of TSource, Nullable(Of Integer)))) As IAggregate(Of TSource, Integer, Integer)
參數
- selector
- Expression<Func<TSource,Nullable<Int32>>>
傳回
適用於
Sum(Expression<Func<TSource,Int64>>)
使用「snapshot windows」 (SI 術語) ,以長時間計算時間敏感總和匯總。
public Microsoft.StreamProcessing.Aggregates.IAggregate<TSource,long,long> Sum(System.Linq.Expressions.Expression<Func<TSource,long>> selector);
member this.Sum : System.Linq.Expressions.Expression<Func<'Source, int64>> -> Microsoft.StreamProcessing.Aggregates.IAggregate<'Source, int64, int64>
Public Function Sum (selector As Expression(Of Func(Of TSource, Long))) As IAggregate(Of TSource, Long, Long)
參數
- selector
- Expression<Func<TSource,Int64>>