Qbservable.Sum Method (IQbservable<Int32>)
Computes the sum of a sequence of Int32 values.
Namespace: System.Reactive.Linq
Assembly: System.Reactive.Providers (in System.Reactive.Providers.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Sum ( _
source As IQbservable(Of Integer) _
) As IQbservable(Of Integer)
'Usage
Dim source As IQbservable(Of Integer)
Dim returnValue As IQbservable(Of Integer)
returnValue = source.Sum()
public static IQbservable<int> Sum(
this IQbservable<int> source
)
[ExtensionAttribute]
public:
static IQbservable<int>^ Sum(
IQbservable<int>^ source
)
static member Sum :
source:IQbservable<int> -> IQbservable<int>
public static function Sum(
source : IQbservable<int>
) : IQbservable<int>
Parameters
- source
Type: System.Reactive.Linq.IQbservable<Int32>
A sequence of Int32 values to calculate the sum of.
Return Value
Type: System.Reactive.Linq.IQbservable<Int32>
The sum of a sequence of Int32 values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Int32>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .
See Also
Reference
System.Reactive.Linq Namespace
Qbservable.Sum Method
Include Protected Members
Include Inherited Members
Computes the sum of a sequence.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
NameDescriptionSum(IQbservable
Sum(IQbservable
Sum(IQbservable
Sum(IQbservable
Sum(IQbservable<Nullable
Sum(IQbservable<Nullable
Sum(IQbservable<Nullable
Sum(IQbservable<Nullable
Sum(IQbservable<Nullable
Sum(IQbservable
See Also
Reference
System.Reactive.Linq Namespace
Qbservable.Sum Method (IQbservable<Single>)
Computes the sum of a sequence of Float values.
Namespace: System.Reactive.Linq
Assembly: System.Reactive.Providers (in System.Reactive.Providers.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Sum ( _
source As IQbservable(Of Single) _
) As IQbservable(Of Single)
'Usage
Dim source As IQbservable(Of Single)
Dim returnValue As IQbservable(Of Single)
returnValue = source.Sum()
public static IQbservable<float> Sum(
this IQbservable<float> source
)
[ExtensionAttribute]
public:
static IQbservable<float>^ Sum(
IQbservable<float>^ source
)
static member Sum :
source:IQbservable<float32> -> IQbservable<float32>
public static function Sum(
source : IQbservable<float>
) : IQbservable<float>
Parameters
- source
Type: System.Reactive.Linq.IQbservable<Single>
A sequence of Float values to calculate the sum of
Return Value
Type: System.Reactive.Linq.IQbservable<Single>
The sum of a sequence of Float values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Single>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .
See Also
Reference
System.Reactive.Linq Namespace
Qbservable.Sum Method (IQbservable<Nullable<Double>>)
Computes the sum of a sequence of nullable Double values.
Namespace: System.Reactive.Linq
Assembly: System.Reactive.Providers (in System.Reactive.Providers.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Sum ( _
source As IQbservable(Of Nullable(Of Double)) _
) As IQbservable(Of Nullable(Of Double))
'Usage
Dim source As IQbservable(Of Nullable(Of Double))
Dim returnValue As IQbservable(Of Nullable(Of Double))
returnValue = source.Sum()
public static IQbservable<Nullable<double>> Sum(
this IQbservable<Nullable<double>> source
)
[ExtensionAttribute]
public:
static IQbservable<Nullable<double>>^ Sum(
IQbservable<Nullable<double>>^ source
)
static member Sum :
source:IQbservable<Nullable<float>> -> IQbservable<Nullable<float>>
public static function Sum(
source : IQbservable<Nullable<double>>
) : IQbservable<Nullable<double>>
Parameters
- source
Type: System.Reactive.Linq.IQbservable<Nullable<Double>>
A sequence of nullable Double values to calculate the sum of.
Return Value
Type: System.Reactive.Linq.IQbservable<Nullable<Double>>
The sum of a sequence of nullable Double values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Nullable<Double>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .
See Also
Reference
System.Reactive.Linq Namespace
Qbservable.Sum Method (IQbservable<Decimal>)
Computes the sum of a sequence of Decimal values.
Namespace: System.Reactive.Linq
Assembly: System.Reactive.Providers (in System.Reactive.Providers.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Sum ( _
source As IQbservable(Of Decimal) _
) As IQbservable(Of Decimal)
'Usage
Dim source As IQbservable(Of Decimal)
Dim returnValue As IQbservable(Of Decimal)
returnValue = source.Sum()
public static IQbservable<decimal> Sum(
this IQbservable<decimal> source
)
[ExtensionAttribute]
public:
static IQbservable<Decimal>^ Sum(
IQbservable<Decimal>^ source
)
static member Sum :
source:IQbservable<decimal> -> IQbservable<decimal>
public static function Sum(
source : IQbservable<decimal>
) : IQbservable<decimal>
Parameters
- source
Type: System.Reactive.Linq.IQbservable<Decimal>
A sequence of Decimal values to calculate the sum of.
Return Value
Type: System.Reactive.Linq.IQbservable<Decimal>
The sum of a sequence of Decimal values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Decimal>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .
See Also
Reference
System.Reactive.Linq Namespace
Qbservable.Sum Method (IQbservable<Nullable<Int64>>)
Computes the sum of a sequence of nullable Int64 values.
Namespace: System.Reactive.Linq
Assembly: System.Reactive.Providers (in System.Reactive.Providers.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Sum ( _
source As IQbservable(Of Nullable(Of Long)) _
) As IQbservable(Of Nullable(Of Long))
'Usage
Dim source As IQbservable(Of Nullable(Of Long))
Dim returnValue As IQbservable(Of Nullable(Of Long))
returnValue = source.Sum()
public static IQbservable<Nullable<long>> Sum(
this IQbservable<Nullable<long>> source
)
[ExtensionAttribute]
public:
static IQbservable<Nullable<long long>>^ Sum(
IQbservable<Nullable<long long>>^ source
)
static member Sum :
source:IQbservable<Nullable<int64>> -> IQbservable<Nullable<int64>>
public static function Sum(
source : IQbservable<Nullable<long>>
) : IQbservable<Nullable<long>>
Parameters
- source
Type: System.Reactive.Linq.IQbservable<Nullable<Int64>>
A sequence of nullable Int64 values to calculate the sum of.
Return Value
Type: System.Reactive.Linq.IQbservable<Nullable<Int64>>
The sum of a sequence of nullable Int64 values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Nullable<Int64>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .
See Also
Reference
System.Reactive.Linq Namespace
Qbservable.Sum Method (IQbservable<Nullable<Decimal>>)
Computes the sum of a sequence of nullable Decimal values.
Namespace: System.Reactive.Linq
Assembly: System.Reactive.Providers (in System.Reactive.Providers.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Sum ( _
source As IQbservable(Of Nullable(Of Decimal)) _
) As IQbservable(Of Nullable(Of Decimal))
'Usage
Dim source As IQbservable(Of Nullable(Of Decimal))
Dim returnValue As IQbservable(Of Nullable(Of Decimal))
returnValue = source.Sum()
public static IQbservable<Nullable<decimal>> Sum(
this IQbservable<Nullable<decimal>> source
)
[ExtensionAttribute]
public:
static IQbservable<Nullable<Decimal>>^ Sum(
IQbservable<Nullable<Decimal>>^ source
)
static member Sum :
source:IQbservable<Nullable<decimal>> -> IQbservable<Nullable<decimal>>
public static function Sum(
source : IQbservable<Nullable<decimal>>
) : IQbservable<Nullable<decimal>>
Parameters
- source
Type: System.Reactive.Linq.IQbservable<Nullable<Decimal>>
A sequence of nullable Decimal values to calculate the sum of.
Return Value
Type: System.Reactive.Linq.IQbservable<Nullable<Decimal>>
The sum of a sequence of nullable Decimal values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Nullable<Decimal>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .
See Also
Reference
System.Reactive.Linq Namespace
Qbservable.Sum Method (IQbservable<Int64>)
Computes the sum of a sequence of Int64 values.
Namespace: System.Reactive.Linq
Assembly: System.Reactive.Providers (in System.Reactive.Providers.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Sum ( _
source As IQbservable(Of Long) _
) As IQbservable(Of Long)
'Usage
Dim source As IQbservable(Of Long)
Dim returnValue As IQbservable(Of Long)
returnValue = source.Sum()
public static IQbservable<long> Sum(
this IQbservable<long> source
)
[ExtensionAttribute]
public:
static IQbservable<long long>^ Sum(
IQbservable<long long>^ source
)
static member Sum :
source:IQbservable<int64> -> IQbservable<int64>
public static function Sum(
source : IQbservable<long>
) : IQbservable<long>
Parameters
- source
Type: System.Reactive.Linq.IQbservable<Int64>
A sequence of Int64 values to calculate the sum of.
Return Value
Type: System.Reactive.Linq.IQbservable<Int64>
The sum of a sequence of Int64 values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Int64>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .
See Also
Reference
System.Reactive.Linq Namespace
Qbservable.Sum Method (IQbservable<Nullable<Int32>>)
Computes the sum of a sequence of nullable Int32 values.
Namespace: System.Reactive.Linq
Assembly: System.Reactive.Providers (in System.Reactive.Providers.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Sum ( _
source As IQbservable(Of Nullable(Of Integer)) _
) As IQbservable(Of Nullable(Of Integer))
'Usage
Dim source As IQbservable(Of Nullable(Of Integer))
Dim returnValue As IQbservable(Of Nullable(Of Integer))
returnValue = source.Sum()
public static IQbservable<Nullable<int>> Sum(
this IQbservable<Nullable<int>> source
)
[ExtensionAttribute]
public:
static IQbservable<Nullable<int>>^ Sum(
IQbservable<Nullable<int>>^ source
)
static member Sum :
source:IQbservable<Nullable<int>> -> IQbservable<Nullable<int>>
public static function Sum(
source : IQbservable<Nullable<int>>
) : IQbservable<Nullable<int>>
Parameters
- source
Type: System.Reactive.Linq.IQbservable<Nullable<Int32>>
A sequence of nullable Int32 values to calculate the sum of.
Return Value
Type: System.Reactive.Linq.IQbservable<Nullable<Int32>>
The sum of a sequence of nullable Int32 values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Nullable<Int32>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .
See Also
Reference
System.Reactive.Linq Namespace
Qbservable.Sum Method (IQbservable<Double>)
Computes the sum of a sequence of Double values.
Namespace: System.Reactive.Linq
Assembly: System.Reactive.Providers (in System.Reactive.Providers.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Sum ( _
source As IQbservable(Of Double) _
) As IQbservable(Of Double)
'Usage
Dim source As IQbservable(Of Double)
Dim returnValue As IQbservable(Of Double)
returnValue = source.Sum()
public static IQbservable<double> Sum(
this IQbservable<double> source
)
[ExtensionAttribute]
public:
static IQbservable<double>^ Sum(
IQbservable<double>^ source
)
static member Sum :
source:IQbservable<float> -> IQbservable<float>
public static function Sum(
source : IQbservable<double>
) : IQbservable<double>
Parameters
- source
Type: System.Reactive.Linq.IQbservable<Double>
A sequence of Double values to calculate the sum of.
Return Value
Type: System.Reactive.Linq.IQbservable<Double>
The sum of a sequence of Double values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Double>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .
See Also
Reference
System.Reactive.Linq Namespace
Qbservable.Sum Method (IQbservable<Nullable<Single>>)
Computes the sum of a sequence of nullable Float values.
Namespace: System.Reactive.Linq
Assembly: System.Reactive.Providers (in System.Reactive.Providers.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Sum ( _
source As IQbservable(Of Nullable(Of Single)) _
) As IQbservable(Of Nullable(Of Single))
'Usage
Dim source As IQbservable(Of Nullable(Of Single))
Dim returnValue As IQbservable(Of Nullable(Of Single))
returnValue = source.Sum()
public static IQbservable<Nullable<float>> Sum(
this IQbservable<Nullable<float>> source
)
[ExtensionAttribute]
public:
static IQbservable<Nullable<float>>^ Sum(
IQbservable<Nullable<float>>^ source
)
static member Sum :
source:IQbservable<Nullable<float32>> -> IQbservable<Nullable<float32>>
public static function Sum(
source : IQbservable<Nullable<float>>
) : IQbservable<Nullable<float>>
Parameters
- source
Type: System.Reactive.Linq.IQbservable<Nullable<Single>>
A sequence of nullable Float values to calculate the sum of.
Return Value
Type: System.Reactive.Linq.IQbservable<Nullable<Single>>
The sum of a sequence of nullable Float values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<Nullable<Single>>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .