Partilhar via


PromoCodeStringCollection Class

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

Represents a collection of Promotion Code strings. This class cannot be inherited.

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

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class PromoCodeStringCollection _
    Implements IList, ICollection, IEnumerable, ISerializable
'Usage
Dim instance As PromoCodeStringCollection
[SerializableAttribute]
public sealed class PromoCodeStringCollection : IList, 
    ICollection, IEnumerable, ISerializable
[SerializableAttribute]
public ref class PromoCodeStringCollection sealed : IList, 
    ICollection, IEnumerable, ISerializable
public final class PromoCodeStringCollection implements IList, ICollection, IEnumerable, ISerializable

Remarks

Manages a collection of Promotion Code strings. This specialized class works with OrderForm to ensure changes made to the Promotion Code strings update the LastModified and LastModified date on the OrderForm and its parent OrderGroup.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Runtime.Orders..::.PromoCodeStringCollection

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

PromoCodeStringCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace