Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Gets a reference to the parent order form that contains the current instance.
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 Payment
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, or nullNothingnullptra null reference (Nothing in Visual Basic) if the current instance has not been added to an OrderForm.
Remarks
Returns a reference to the parent order form, or a nullNothingnullptra null reference (Nothing in Visual Basic) reference if the current instance has not been added to the payment collection of an order group-derived class.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.