VirtualTimeSchedulerBase(Of TAbsolute, TRelative).ToRelative Method

Converts the TimeSpan value to a relative time value.

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

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

returnValue = Me.ToRelative(timeSpan)

Parameters

timeSpan
Type: System.TimeSpan
The TimeSpan value to convert.

Return Value

Type: TRelative
The corresponding relative time value.
Show: