Share via


ParentOrderGroup Property

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

Gets the OrderGroup instance containing the current order form.

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

Syntax

'Declaration
Public ReadOnly Property ParentOrderGroup As OrderGroup
'Usage
Dim instance As OrderForm
Dim value As OrderGroup

value = instance.ParentOrderGroup
public OrderGroup ParentOrderGroup { get; }
public:
property OrderGroup^ ParentOrderGroup {
    OrderGroup^ get ();
}
public function get ParentOrderGroup () : OrderGroup

Property Value

Type: Microsoft.CommerceServer.Runtime.Orders..::.OrderGroup
An OrderGroup containing a reference to the order group class instance containing the current order form.

Remarks

ParentOrderGroup gets calculated when the OrderForm is added to an OrderFormCollection of an OrderGroup.

Permissions

See Also

Reference

OrderForm Class

OrderForm Members

Microsoft.CommerceServer.Runtime.Orders Namespace