共用方式為


時間戳記 T > 建構函式 <

建構時間戳記值。

Namespace:System.Reactive
裝配: System.Reactive.dll) 中的 System.Reactive (

語法

'Declaration
Public Sub New ( _
    value As T, _
    timestamp As DateTimeOffset _
)
'Usage
Dim value As T
Dim timestamp As DateTimeOffset

Dim instance As New Timestamped(value, timestamp)
public Timestamped(
    T value,
    DateTimeOffset timestamp
)
public:
Timestamped(
    T value, 
    DateTimeOffset timestamp
)
new : 
        value:'T * 
        timestamp:DateTimeOffset -> Timestamped
public function Timestamped(
    value : T, 
    timestamp : DateTimeOffset
)

參數

  • value
    類型: T
    數值。

另請參閱

參考

<時間戳記 T > 結構

System.Reactive 命名空間