Udostępnij za pośrednictwem


PromoCodeStringCollection Members

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.

The PromoCodeStringCollection type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Aa138763.pubmethod(en-US,CS.70).gif Add Adds the specified Promocode string to the end of the PromoCodeStringCollection.
Aa138763.pubmethod(en-US,CS.70).gif Clear Clears all of the Promocode string from the current PromoCodeStringCollection.
Aa138763.pubmethod(en-US,CS.70).gif Contains Returns a value indicating whether a promo code string is contained within the PromoCodeStringCollection.
Aa138763.pubmethod(en-US,CS.70).gif CopyTo Copies the contents of the PromoCodeStringCollection to a compatible one-dimensional array starting at the specified index of the target array.
Aa138763.pubmethod(en-US,CS.70).gif Equals (Inherited from Object.)
Aa138763.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa138763.pubmethod(en-US,CS.70).gif GetEnumerator Retrieves an enumerator that can iterate through the current PromoCodeStringCollection.
Aa138763.pubmethod(en-US,CS.70).gif GetHashCode (Inherited from Object.)
Aa138763.pubmethod(en-US,CS.70).gif GetObjectData Populates the SerializationInfo with the data needed to serialize the PromoCodeStringCollection.
Aa138763.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa138763.pubmethod(en-US,CS.70).gif IndexOf Returns the index of the Promocode string with the specified identifier.
Aa138763.pubmethod(en-US,CS.70).gif Insert Inserts the specified Promocode string into the PromoCodeStringCollection at the specified location.
Aa138763.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa138763.pubmethod(en-US,CS.70).gif Remove Removes the specified Promocode string from the collection.
Aa138763.pubmethod(en-US,CS.70).gif RemoveAt Removes the specified Promocode string from the PromoCodeStringCollection.
Aa138763.pubmethod(en-US,CS.70).gif ToString (Inherited from Object.)

Top

Properties

  Name Description
Aa138763.pubproperty(en-US,CS.70).gif Count Gets the current count of all the unique Promotion Code strings contained within the current PromoCodeStringCollection collection.
Aa138763.pubproperty(en-US,CS.70).gif IsFixedSize Gets a value indicating whether the list has a fixed size.
Aa138763.pubproperty(en-US,CS.70).gif IsReadOnly Gets a value indicating whether the list is Read-Only.
Aa138763.pubproperty(en-US,CS.70).gif IsSynchronized Gets a value indicating whether access to the PromoCodeStringCollection is synchronized (thread-safe).
Aa138763.pubproperty(en-US,CS.70).gif Item Gets or sets the Promocode string from the current collection, based upon the specified index.
Aa138763.pubproperty(en-US,CS.70).gif ParentOrderForm Gets the OrderForm object to which this Promocode string collection belongs.
Aa138763.pubproperty(en-US,CS.70).gif SyncRoot Gets the object used to synchronize access to the PromoCodeStringCollection.

Top

Explicit Interface Implementations

  Name Description
Aa138763.pubinterface(en-US,CS.70).gifAa138763.privmethod(en-US,CS.70).gif IList..::.Add
Aa138763.pubinterface(en-US,CS.70).gifAa138763.privmethod(en-US,CS.70).gif IList..::.Contains
Aa138763.pubinterface(en-US,CS.70).gifAa138763.privmethod(en-US,CS.70).gif ICollection..::.CopyTo
Aa138763.pubinterface(en-US,CS.70).gifAa138763.privmethod(en-US,CS.70).gif IList..::.IndexOf
Aa138763.pubinterface(en-US,CS.70).gifAa138763.privmethod(en-US,CS.70).gif IList..::.Insert
Aa138763.pubinterface(en-US,CS.70).gifAa138763.privproperty(en-US,CS.70).gif IList..::.Item
Aa138763.pubinterface(en-US,CS.70).gifAa138763.privmethod(en-US,CS.70).gif IList..::.Remove

Top

See Also

Reference

PromoCodeStringCollection Class

Microsoft.CommerceServer.Runtime.Orders Namespace