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

Records the timestamp for each value 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 Timestamp(Of TSource) ( _
    source As IQbservable(Of TSource) _
) As IQbservable(Of Timestamped(Of TSource))
'Usage
Dim source As IQbservable(Of TSource)
Dim returnValue As IQbservable(Of Timestamped(Of TSource))

returnValue = source.Timestamp()
public static IQbservable<Timestamped<TSource>> Timestamp<TSource>(
    this IQbservable<TSource> source
)
[ExtensionAttribute]
public:
generic<typename TSource>
static IQbservable<Timestamped<TSource>>^ Timestamp(
    IQbservable<TSource>^ source
)
static member Timestamp : 
        source:IQbservable<'TSource> -> 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