public static BinarySize? Sum(
this IEnumerable<BinarySize?> source
)
<ExtensionAttribute>
Public Shared Function Sum (
source As IEnumerable(Of BinarySize?)
) As BinarySize?
public:
[ExtensionAttribute]
static Nullable<BinarySize> Sum(
IEnumerable<Nullable<BinarySize>>^ source
)
[<ExtensionAttribute>]
static member Sum :
source : IEnumerable<Nullable<BinarySize>> -> Nullable<BinarySize>
Items in source that are are excluded from the computation of the sum. This method returns zero if source contains no elements or all elements are .
ArgumentNullException | source is . |
OverflowException | The sum is larger than BinarySizeMaxValue. |