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

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

Qbservable Class

Sum Overload

System.Reactive.Linq Namespace