Virtualtimeschedulerbase(Tabsolute,

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)

Syntax

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

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

Parameters

Return Value

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

See Also

Reference

[VirtualTimeSchedulerBase<TAbsolute, TRelative> Class](VirtualTimeSchedulerBase\VirtualTimeSchedulerBase(TAbsolute,.md)

System.Reactive.Concurrency Namespace