Partager via


PromoCodeRecordCollection Members

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

This class cannot be inherited. Represents a collection of Marketing Promotion Codes associated with an order form instance.

The PromoCodeRecordCollection type exposes the following members.

Constructors

  Name Description
Aa138742.pubmethod(en-US,CS.70).gif PromoCodeRecordCollection Initializes a new instance of the PromoCodeRecordCollection class with the specified parent order form.

Top

Methods

  Name Description
Aa138742.pubmethod(en-US,CS.70).gif Add Adds the specified PromoCodeRecord to the end of the PromoCodeRecordCollection.
Aa138742.pubmethod(en-US,CS.70).gif Clear Clears all the PromoCodeRecord objects from the current PromoCodeRecordCollection.
Aa138742.pubmethod(en-US,CS.70).gif CopyTo Copies the contents of the PromoCodeRecordCollection to a compatible one-dimensional array starting at the specified index of the target array.
Aa138742.pubmethod(en-US,CS.70).gif Equals (Inherited from Object.)
Aa138742.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa138742.pubmethod(en-US,CS.70).gif GetEnumerator Retrieves an enumerator that can iterate through the current PromoCodeRecordCollection.
Aa138742.pubmethod(en-US,CS.70).gif GetHashCode (Inherited from Object.)
Aa138742.pubmethod(en-US,CS.70).gif GetObjectData Populates the SerializationInfo with the data needed to serialize the PromoCodeRecordCollection.
Aa138742.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa138742.pubmethod(en-US,CS.70).gif IndexOf Overloaded. Returns the index of the PromoCodeRecord with the specified identifier.
Aa138742.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa138742.pubmethod(en-US,CS.70).gif Remove Overloaded. Removes the specified PromoCodeRecord from the collection.
Aa138742.pubmethod(en-US,CS.70).gif ToString (Inherited from Object.)

Top

Properties

  Name Description
Aa138742.pubproperty(en-US,CS.70).gif Count Gets the current count of all the unique PromoCodeRecord objects contained within the current PromoCodeRecordCollection collection.
Aa138742.pubproperty(en-US,CS.70).gif IsSynchronized Gets a value indicating whether access to the PromoCodeRecordCollection is synchronized (thread-safe).
Aa138742.pubproperty(en-US,CS.70).gif Item Gets the PromoCodeRecord object from the current collection, based upon the specified index.
Aa138742.pubproperty(en-US,CS.70).gif ParentOrderForm Gets the OrderForm object to which this PromoCodeRecord collection belongs.
Aa138742.pubproperty(en-US,CS.70).gif SyncRoot Gets the object used to synchronize access to the PromoCodeRecordCollection.

Top

Explicit Interface Implementations

  Name Description
Aa138742.pubinterface(en-US,CS.70).gifAa138742.privmethod(en-US,CS.70).gif ICollection..::.CopyTo

Top

See Also

Reference

PromoCodeRecordCollection Class

Microsoft.CommerceServer.Runtime.Orders Namespace