LastModified Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets the time the line item was last modified in the local time of the web server.

Namespace:  Microsoft.CommerceServer.Runtime.Orders
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

public DateTime LastModified { get; }

Property Value

Type: System..::.DateTime
A DateTime containing the local time when the line item was last modified.

When LastModified or other DateTime fields are marshalled across to COM or loaded back from SQL Server, the resolution at which the comparison is done has to be lower than that with TickCount.