WebBaseEvent.EventTimeUtc Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the time when the event was raised.
public:
property DateTime EventTimeUtc { DateTime get(); };
public DateTime EventTimeUtc { get; }
member this.EventTimeUtc : DateTime
Public ReadOnly Property EventTimeUtc As DateTime
Property Value
The time of the event in Coordinated Universal Time (UTC) format.
Examples
The following code example shows how to get the EventTimeUtc value.
// 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
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.