Partager via


Created Property

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

Gets the creation time, local time, of the order form.

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

Syntax

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

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

Property Value

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

Remarks

Gets the local time at which the current instance was created.

Created is set when the current instance is constructed and will not change during storage of the object.

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