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
- 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.