WebBaseEvent.EventTimeUtc 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得事件引發的時間。
public:
property DateTime EventTimeUtc { DateTime get(); };
public DateTime EventTimeUtc { get; }
member this.EventTimeUtc : DateTime
Public ReadOnly Property EventTimeUtc As DateTime
屬性值
Coordinated Universal Time (UTC) 格式的事件時間。
範例
下列程式碼範例示範如何取得 EventTimeUtc 值。
// Gets the event time.
public DateTime GetEventTimeUtc()
{
// Get the event source.
DateTime eTime = EventTimeUtc;
return eTime;
}
' Gets the event time.
Public Function GetEventTimeUtc() As DateTime
' Get the event source.
Dim eTime As DateTime = EventTimeUtc
Return eTime
End Function 'GetEventTimeUtc