次の方法で共有


ParentOrderForm Property

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

Gets the OrderForm object to which this Promocode string collection belongs.

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

Syntax

'Declaration
Public ReadOnly Property ParentOrderForm As OrderForm
'Usage
Dim instance As PromoCodeStringCollection
Dim value As OrderForm

value = instance.ParentOrderForm
public OrderForm ParentOrderForm { get; }
public:
property OrderForm^ ParentOrderForm {
    OrderForm^ get ();
}
public function get ParentOrderForm () : OrderForm

Property Value

Type: Microsoft.CommerceServer.Runtime.Orders..::.OrderForm
The OrderForm to which the current instance belongs.

Remarks

ParentOrderForm is set when the current PromoCodeStringCollection is created.

Returns a OrderForm, describing the parent order form to which these Promocode strings belong.

Permissions

See Also

Reference

PromoCodeStringCollection Class

PromoCodeStringCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace