Share via


PosEventArgs.TimeStamp Property

Gets the DateTime of the event.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Usage

'Usage
Dim posEventArgs1 As PosEventArgs

Dim returnValue As DateTime
returnValue = posEventArgs1.TimeStamp

Syntax

'Declaration
Public ReadOnly Property TimeStamp() As DateTime
public DateTime TimeStamp {get;}
public: property DateTime^ TimeStamp{
    DateTime^ get();
}
public DateTime get_TimeStamp();
public function get TimeStamp() : DateTime;

Remarks

Because DateTime.Now has limited resolution, it is possible that two events can be given the same TimeStamp. Therefore, you should also verify the order of events with EventId.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

PosEventArgs Class
PosEventArgs Members
Microsoft.PointOfService Namespace