Share via


ICollection(DiscountItem).Add Method

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

Syntax

'Declaration
Private Sub Add ( _
    item As DiscountItem _
) Implements ICollection(Of DiscountItem).Add
'Usage
Dim instance As DiscountItemCollection
Dim item As DiscountItem

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

Parameters

Implements

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

Permissions

See Also

Reference

DiscountItemCollection Class

DiscountItemCollection Members

Microsoft.CommerceServer.Runtime.Marketing Namespace