次の方法で共有


Addresses Property

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

Gets the collection of order addresses for the current order.

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

Syntax

'Declaration
Public ReadOnly Property Addresses As OrderAddressCollection
'Usage
Dim instance As OrderGroup
Dim value As OrderAddressCollection

value = instance.Addresses
public OrderAddressCollection Addresses { get; }
public:
property OrderAddressCollection^ Addresses {
    OrderAddressCollection^ get ();
}
public function get Addresses () : OrderAddressCollection

Property Value

Type: Microsoft.CommerceServer.Runtime.Orders..::.OrderAddressCollection
The OrderAddressCollection for the current instance.

Exceptions

Exception Condition
InvalidOperationException

The order group has been disposed, either directly or by conversion from an OrderTemplate to a Basket or a Basket to a PurchaseOrder.

Remarks

Returns a collection of collection of OrderAddress objects associated with the current order.

Permissions

See Also

Reference

OrderGroup Class

OrderGroup Members

Microsoft.CommerceServer.Runtime.Orders Namespace