The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

VirtualTimeSchedulerBase<TAbsolute, TRelative>.ToRelative()

VirtualTimeSchedulerBase<TAbsolute, TRelative>.ToRelative Method

Converts the TimeSpan value to a relative time value.

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


Protected MustOverride Function ToRelative ( _
    timeSpan As TimeSpan _
) As TRelative
Dim timeSpan As TimeSpan
Dim returnValue As TRelative

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


Return Value

Type: [TRelative](VirtualTimeSchedulerBase/VirtualTimeSchedulerBase(TAbsolute,)
The corresponding relative time value.

See Also


[VirtualTimeSchedulerBase<TAbsolute, TRelative> Class](VirtualTimeSchedulerBase/VirtualTimeSchedulerBase(TAbsolute,)

System.Reactive.Concurrency Namespace