다음을 통해 공유


LastModified Property

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

Gets or sets the last modified time of the discount in local time.

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

Syntax

'Declaration
Public Property LastModified As DateTime
'Usage
Dim instance As DiscountApplicationRecordBase
Dim value As DateTime

value = instance.LastModified

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

Property Value

Type: System..::.DateTime
A System.DateTime that contains the last modified time of the discount in local time.

Remarks

When LastModified or other System.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

DiscountApplicationRecordBase Class

DiscountApplicationRecordBase Members

Microsoft.CommerceServer.Runtime.Orders Namespace