Int32Aggregator Int32Aggregator Int32Aggregator Int32Aggregator Struct

定義

計算 Int32 值序列的彙總。Computes aggregates over a sequence of Int32 values.

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public value class Int32Aggregator
public struct Int32Aggregator
type Int32Aggregator = struct
Public Structure Int32Aggregator
繼承
Int32AggregatorInt32AggregatorInt32AggregatorInt32Aggregator

屬性

AverageResult AverageResult AverageResult AverageResult

傳回 Int32 值序列的平均結果。Returns the average result of a sequence of Int32 values.

IsEmpty IsEmpty IsEmpty IsEmpty

傳回布林值,指出序列是否為空的。Returns a Boolean value that indicates if the sequence is empty.

MaximumResult MaximumResult MaximumResult MaximumResult

傳回 Int32 值序列中的最大值。Returns the largest value in a sequence of Int32 values.

MinimumResult MinimumResult MinimumResult MinimumResult

傳回 Int32 值序列中的最小值。Returns the smallest value in a sequence of Int32 values.

SumResult SumResult SumResult SumResult

傳回 Int32 值序列的總和。Returns the sum of a sequence of Int32 values.

方法

Average(Int32) Average(Int32) Average(Int32) Average(Int32)

尋找 Int32 值序列的平均。Finds the average of a sequence of Int32 values.

Create() Create() Create() Create()

初始化 Int32 值的序列。Initializes a sequence of Int32 values.

Maximum(Int32) Maximum(Int32) Maximum(Int32) Maximum(Int32)

如果 value 參數大於現有結果,則將 value 參數指派給該現有結果。Assigns the value parameter to the existing result if the value parameter is greater than the existing result.

Minimum(Int32) Minimum(Int32) Minimum(Int32) Minimum(Int32)

如果 value 參數小於現有結果,則將 value 參數指派給該現有結果。Assigns the value parameter to the existing result if the value parameter is less than the existing result.

Sum(Int32) Sum(Int32) Sum(Int32) Sum(Int32)

Int32 值加入至現有的結果中。Adds an Int32 value to the existing result.

適用於