ICollection(DiscountItem).Remove Method

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

Syntax

'Declaration
Private Function Remove ( _
    item As DiscountItem _
) As Boolean Implements ICollection(Of DiscountItem).Remove
'Usage
Dim instance As DiscountItemCollection
Dim item As DiscountItem
Dim returnValue As Boolean

returnValue = CType(instance, ICollection(Of DiscountItem)).Remove(item)
bool ICollection<DiscountItem>.Remove(
    DiscountItem item
)
private:
virtual bool Remove(
    DiscountItem^ item
) sealed = ICollection<DiscountItem^>::Remove
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System..::.Boolean

Implements

ICollection<(Of <(T>)>)..::.Remove(T)

Permissions

See Also

Reference

DiscountItemCollection Class

DiscountItemCollection Members

Microsoft.CommerceServer.Runtime.Marketing Namespace