Share via


HistoricalSchedulerBase.ToRelative Method

Converts the TimeSpan value to a relative time value.

Namespace:  System.Reactive.Concurrency
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'Declaration
Protected Overrides Function ToRelative ( _
    timeSpan As TimeSpan _
) As TimeSpan
'Usage
Dim timeSpan As TimeSpan
Dim returnValue As TimeSpan

returnValue = Me.ToRelative(timeSpan)
protected override TimeSpan ToRelative(
    TimeSpan timeSpan
)
protected:
virtual TimeSpan ToRelative(
    TimeSpan timeSpan
) override
abstract ToRelative : 
        timeSpan:TimeSpan -> TimeSpan 
override ToRelative : 
        timeSpan:TimeSpan -> TimeSpan 
protected override function ToRelative(
    timeSpan : TimeSpan
) : TimeSpan

Parameters

Return Value

Type: System.TimeSpan
The corresponding relative time value.

See Also

Reference

HistoricalSchedulerBase Class

System.Reactive.Concurrency Namespace