Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts the TimeSpan value to a relative time value.
Namespace: System.Reactive.Concurrency
Assembly: System.Reactive (in System.Reactive.dll)
Syntax
'Declaration
Protected Overrides Function ToRelative ( _
timeSpan As TimeSpan _
) As TimeSpan
'Usage
Dim timeSpan As TimeSpan
Dim returnValue As TimeSpan
returnValue = Me.ToRelative(timeSpan)
protected override TimeSpan ToRelative(
TimeSpan timeSpan
)
protected:
virtual TimeSpan ToRelative(
TimeSpan timeSpan
) override
abstract ToRelative :
timeSpan:TimeSpan -> TimeSpan
override ToRelative :
timeSpan:TimeSpan -> TimeSpan
protected override function ToRelative(
timeSpan : TimeSpan
) : TimeSpan
Parameters
- timeSpan
Type: System.TimeSpan
The TimeSpan value to convert.
Return Value
Type: System.TimeSpan
The corresponding relative time value.