TestScheduler.ToRelative Method

Converts the TimeSpan value to a relative virtual time value.

Namespace:  Microsoft.Reactive.Testing
Assembly:  Microsoft.Reactive.Testing (in Microsoft.Reactive.Testing.dll)

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

returnValue = Me.ToRelative(timeSpan)

Parameters

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

Return Value

Type: System.Int64
The corresponding relative virtual time value.
Show: