OrderAddressCollection Constructor
Initializes a new instance of the OrderAddressCollection class with the specified parent order group.
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Sub New ( _
parentOrderGroup As OrderGroup _
)
'Usage
Dim parentOrderGroup As OrderGroup
Dim instance As New OrderAddressCollection(parentOrderGroup)
public OrderAddressCollection(
OrderGroup parentOrderGroup
)
public:
OrderAddressCollection(
OrderGroup^ parentOrderGroup
)
public function OrderAddressCollection(
parentOrderGroup : OrderGroup
)
Parameters
- parentOrderGroup
Type: Microsoft.CommerceServer.Runtime.Orders..::.OrderGroup
A OrderGroup that is the parent of this collection instance.
Remarks
An OrderAddressCollection will always be associated with an OrderGroup object.
OrderAddressCollection is a sealed implementation class that represents a collection of OrderAddress objects.Example
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.