Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Queryable::Sum Method

 

Computes the sum of a sequence of numeric values.

Namespace:   System.Linq
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticSum(IQueryable<Decimal>^)

Computes the sum of a sequence of Decimal values.

System_CAPS_pubmethodSystem_CAPS_staticSum(IQueryable<Double>^)

Computes the sum of a sequence of Double values.

System_CAPS_pubmethodSystem_CAPS_staticSum(IQueryable<Int32>^)

Computes the sum of a sequence of Int32 values.

System_CAPS_pubmethodSystem_CAPS_staticSum(IQueryable<Int64>^)

Computes the sum of a sequence of Int64 values.

System_CAPS_pubmethodSystem_CAPS_staticSum(IQueryable<Nullable<Decimal>>^)

Computes the sum of a sequence of nullable Decimal values.

System_CAPS_pubmethodSystem_CAPS_staticSum(IQueryable<Nullable<Double>>^)

Computes the sum of a sequence of nullable Double values.

System_CAPS_pubmethodSystem_CAPS_staticSum(IQueryable<Nullable<Int32>>^)

Computes the sum of a sequence of nullable Int32 values.

System_CAPS_pubmethodSystem_CAPS_staticSum(IQueryable<Nullable<Int64>>^)

Computes the sum of a sequence of nullable Int64 values.

System_CAPS_pubmethodSystem_CAPS_staticSum(IQueryable<Nullable<Single>>^)

Computes the sum of a sequence of nullable Single values.

System_CAPS_pubmethodSystem_CAPS_staticSum(IQueryable<Single>^)

Computes the sum of a sequence of Single values.

System_CAPS_pubmethodSystem_CAPS_staticSum<TSource>(IQueryable<TSource>^, Expression<Func<TSource, Decimal>^>^)

Computes the sum of the sequence of Decimal values that is obtained by invoking a projection function on each element of the input sequence.

System_CAPS_pubmethodSystem_CAPS_staticSum<TSource>(IQueryable<TSource>^, Expression<Func<TSource, Double>^>^)

Computes the sum of the sequence of Double values that is obtained by invoking a projection function on each element of the input sequence.

System_CAPS_pubmethodSystem_CAPS_staticSum<TSource>(IQueryable<TSource>^, Expression<Func<TSource, Int32>^>^)

Computes the sum of the sequence of Int32 values that is obtained by invoking a projection function on each element of the input sequence.

System_CAPS_pubmethodSystem_CAPS_staticSum<TSource>(IQueryable<TSource>^, Expression<Func<TSource, Int64>^>^)

Computes the sum of the sequence of Int64 values that is obtained by invoking a projection function on each element of the input sequence.

System_CAPS_pubmethodSystem_CAPS_staticSum<TSource>(IQueryable<TSource>^, Expression<Func<TSource, Nullable<Decimal>>^>^)

Computes the sum of the sequence of nullable Decimal values that is obtained by invoking a projection function on each element of the input sequence.

System_CAPS_pubmethodSystem_CAPS_staticSum<TSource>(IQueryable<TSource>^, Expression<Func<TSource, Nullable<Double>>^>^)

Computes the sum of the sequence of nullable Double values that is obtained by invoking a projection function on each element of the input sequence.

System_CAPS_pubmethodSystem_CAPS_staticSum<TSource>(IQueryable<TSource>^, Expression<Func<TSource, Nullable<Int32>>^>^)

Computes the sum of the sequence of nullable Int32 values that is obtained by invoking a projection function on each element of the input sequence.

System_CAPS_pubmethodSystem_CAPS_staticSum<TSource>(IQueryable<TSource>^, Expression<Func<TSource, Nullable<Int64>>^>^)

Computes the sum of the sequence of nullable Int64 values that is obtained by invoking a projection function on each element of the input sequence.

System_CAPS_pubmethodSystem_CAPS_staticSum<TSource>(IQueryable<TSource>^, Expression<Func<TSource, Nullable<Single>>^>^)

Computes the sum of the sequence of nullable Single values that is obtained by invoking a projection function on each element of the input sequence.

System_CAPS_pubmethodSystem_CAPS_staticSum<TSource>(IQueryable<TSource>^, Expression<Func<TSource, Single>^>^)

Computes the sum of the sequence of Single values that is obtained by invoking a projection function on each element of the input sequence.

Return to top
Show:
© 2017 Microsoft