Share via


LastModified Property

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

Gets the time the order form 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)

Syntax

'Declaration
Public ReadOnly Property LastModified As DateTime
'Usage
Dim instance As OrderForm
Dim value As DateTime

value = instance.LastModified
public DateTime LastModified { get; }
public:
property DateTime LastModified {
    DateTime get ();
}
public function get LastModified () : DateTime

Property Value

Type: System..::.DateTime
A DateTime containing the time the current instance was last modified.

Remarks

LastModified is updated whenever a property of the OrderForm or one of the child objects is changed.

Storing and retrieving the OrderForm from the data store does not affect LastModified.

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

Permissions

See Also

Reference

OrderForm Class

OrderForm Members

Microsoft.CommerceServer.Runtime.Orders Namespace