Share via


DiscountItemCollection Class

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

Represents a collection of DiscountItem objects. This class cannot be inherited.

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

Syntax

'Declaration
Public NotInheritable Class DiscountItemCollection _
    Implements ICollection(Of DiscountItem), IEnumerable(Of DiscountItem),  _
    IEnumerable
'Usage
Dim instance As DiscountItemCollection
public sealed class DiscountItemCollection : ICollection<DiscountItem>, 
    IEnumerable<DiscountItem>, IEnumerable
public ref class DiscountItemCollection sealed : ICollection<DiscountItem^>, 
    IEnumerable<DiscountItem^>, IEnumerable
public final class DiscountItemCollection implements ICollection<DiscountItem>, IEnumerable<DiscountItem>, IEnumerable

Remarks

A collection of DiscountItem objects. A DiscountItem is a collection of properties for a particular discount.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Runtime.Marketing..::.DiscountItemCollection

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DiscountItemCollection Members

Microsoft.CommerceServer.Runtime.Marketing Namespace