Current Property

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

Gets the current instance of the OrderContext.

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

Syntax

'Declaration
Public Shared ReadOnly Property Current As OrderContext
'Usage
Dim value As OrderContext

value = OrderContext.Current
public static OrderContext Current { get; }
public:
static property OrderContext^ Current {
    OrderContext^ get ();
}
public static function get Current () : OrderContext

Property Value

Type: Microsoft.CommerceServer.Runtime.Orders..::.OrderContext
The current OrderContext.

Remarks

Provides access to the current instance of the OrderContext. Holds the instance of the OrderContext for the console application scenario.

Permissions

See Also

Reference

OrderContext Class

OrderContext Members

Microsoft.CommerceServer.Runtime.Orders Namespace