Qbservable.Timestamp<TSource> Method (IQbservable<TSource>, IScheduler)

Records the timestamp for each value in a queryable observable sequence with the specified source and scheduler.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function Timestamp(Of TSource) ( _
    source As IQbservable(Of TSource), _
    scheduler As IScheduler _
) As IQbservable(Of Timestamped(Of TSource))
'Usage
Dim source As IQbservable(Of TSource)
Dim scheduler As IScheduler
Dim returnValue As IQbservable(Of Timestamped(Of TSource))

returnValue = source.Timestamp(scheduler)
public static IQbservable<Timestamped<TSource>> Timestamp<TSource>(
    this IQbservable<TSource> source,
    IScheduler scheduler
)
[ExtensionAttribute]
public:
generic<typename TSource>
static IQbservable<Timestamped<TSource>>^ Timestamp(
    IQbservable<TSource>^ source, 
    IScheduler^ scheduler
)
static member Timestamp : 
        source:IQbservable<'TSource> * 
        scheduler:IScheduler -> IQbservable<Timestamped<'TSource>> 
JScript does not support generic types and methods.

Type Parameters

  • TSource
    The type of source.

Parameters

Return Value

Type: System.Reactive.Linq.IQbservable<Timestamped<TSource>>
A queryable observable sequence with timestamp 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 .

See Also

Reference

Qbservable Class

Timestamp Overload

System.Reactive.Linq Namespace