Partilhar via


Remove Method (String)

Removes the OrderAddress from the current order address collection, based upon the specified name.

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

Syntax

'Declaration
Public Sub Remove ( _
    orderAddressName As String _
)
'Usage
Dim instance As OrderAddressCollection
Dim orderAddressName As String

instance.Remove(orderAddressName)
public void Remove(
    string orderAddressName
)
public:
void Remove(
    String^ orderAddressName
)
public function Remove(
    orderAddressName : String
)

Parameters

Remarks

Removes a specified OrderAddress from the collection. When a OrderAddress is removed from the collection, all subsequent OrderAddress objects move up one index in the collection and the collection count is decremented.

If there are no line items in the collection, the function returns with no exception.

Calling Remove updates LastModified.

Permissions

See Also

Reference

OrderAddressCollection Class

OrderAddressCollection Members

Remove Overload

Microsoft.CommerceServer.Runtime.Orders Namespace