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 | |
---|---|---|
PromoCodeStringCollection | Initializes a new instance of the PromoCodeStringCollection class with the specified parent order form. |
Top
Methods
Name | Description | |
---|---|---|
Add | Adds the specified Promocode string to the end of the PromoCodeStringCollection. | |
Clear | Clears all of the Promocode string from the current PromoCodeStringCollection. | |
Contains | Returns a value indicating whether a promo code string is contained within the PromoCodeStringCollection. | |
CopyTo | Copies the contents of the PromoCodeStringCollection to a compatible one-dimensional array starting at the specified index of the target array. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Retrieves an enumerator that can iterate through the current PromoCodeStringCollection. | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Populates the SerializationInfo with the data needed to serialize the PromoCodeStringCollection. | |
GetType | (Inherited from Object.) | |
IndexOf | Returns the index of the Promocode string with the specified identifier. | |
Insert | Inserts the specified Promocode string into the PromoCodeStringCollection at the specified location. | |
MemberwiseClone | (Inherited from Object.) | |
Remove | Removes the specified Promocode string from the collection. | |
RemoveAt | Removes the specified Promocode string from the PromoCodeStringCollection. | |
ToString | (Inherited from Object.) |
Top
Properties
Name | Description | |
---|---|---|
Count | Gets the current count of all the unique Promotion Code strings contained within the current PromoCodeStringCollection collection. | |
IsFixedSize | Gets a value indicating whether the list has a fixed size. | |
IsReadOnly | Gets a value indicating whether the list is Read-Only. | |
IsSynchronized | Gets a value indicating whether access to the PromoCodeStringCollection is synchronized (thread-safe). | |
Item | Gets or sets the Promocode string from the current collection, based upon the specified index. | |
ParentOrderForm | Gets the OrderForm object to which this Promocode string collection belongs. | |
SyncRoot | Gets the object used to synchronize access to the PromoCodeStringCollection. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IList..::.Add | ||
IList..::.Contains | ||
ICollection..::.CopyTo | ||
IList..::.IndexOf | ||
IList..::.Insert | ||
IList..::.Item | ||
IList..::.Remove |
Top