Partager via


VirtualTimeSchedulerBase<TAbsolute, TRelative>. ToRelative, méthode

Convertit la valeur TimeSpan en valeur d’heure relative.

Espace de noms :System.Reactive.Concurrency
Assemblée: System.Reactive (en System.Reactive.dll)

Syntaxe

'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

Paramètres

Valeur de retour

Type : TRelative
Valeur de temps relative correspondante.

Voir aussi

Référence

VirtualTimeSchedulerBase<TAbsolute, classe TRelative>

Espace de noms System.Reactive.Concurrency