Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 .