VirtualTimeSchedulerBase < TAbsolute、TRelative > 。Add 方法
將相對時間加入至絕對時間值。
Namespace:System.Reactive.Concurrency
裝配: System.Reactive.dll) 中的 System.Reactive (
語法
'Declaration
Protected MustOverride Function Add ( _
absolute As TAbsolute, _
relative As TRelative _
) As TAbsolute
'Usage
Dim absolute As TAbsolute
Dim relative As TRelative
Dim returnValue As TAbsolute
returnValue = Me.Add(absolute, relative)
protected abstract TAbsolute Add(
TAbsolute absolute,
TRelative relative
)
protected:
virtual TAbsolute Add(
TAbsolute absolute,
TRelative relative
) abstract
abstract Add :
absolute:'TAbsolute *
relative:'TRelative -> 'TAbsolute
protected abstract function Add(
absolute : TAbsolute,
relative : TRelative
) : TAbsolute
參數
- 絕對
類型: TAbsolute
絕對時間值。
- relative
類型: TRelative
要加入的相對時間值。
傳回值
類型: TAbsolute
產生的絕對時間總和值。