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.
Records the time interval between consecutive values in a queryable observable sequence with the specified source.
Namespace: System.Reactive.Linq
Assembly: System.Reactive.Providers (in System.Reactive.Providers.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function TimeInterval(Of TSource) ( _
source As IQbservable(Of TSource) _
) As IQbservable(Of TimeInterval(Of TSource))
'Usage
Dim source As IQbservable(Of TSource)
Dim returnValue As IQbservable(Of TimeInterval(Of TSource))
returnValue = source.TimeInterval()
public static IQbservable<TimeInterval<TSource>> TimeInterval<TSource>(
this IQbservable<TSource> source
)
[ExtensionAttribute]
public:
generic<typename TSource>
static IQbservable<TimeInterval<TSource>>^ TimeInterval(
IQbservable<TSource>^ source
)
static member TimeInterval :
source:IQbservable<'TSource> -> IQbservable<TimeInterval<'TSource>>
JScript does not support generic types and methods.
Type Parameters
- TSource
The type of source.
Parameters
- source
Type: System.Reactive.Linq.IQbservable<TSource>
The source sequence to record time intervals for.
Return Value
Type: System.Reactive.Linq.IQbservable<TimeInterval<TSource>>
A queryable observable sequence with time interval information on values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<TSource>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .