Partager via


DiscountApplicationRecordCollection Members

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

Represents a collection of DiscountApplicationRecord objects.

The DiscountApplicationRecordCollection type exposes the following members.

Constructors

  Name Description
Aa186996.pubmethod(en-US,CS.70).gif DiscountApplicationRecordCollection Initializes a new instance of the DiscountApplicationRecordCollection class using the specified parent line item and discount.

Top

Methods

  Name Description
Aa186996.pubmethod(en-US,CS.70).gif Add Add a DiscountApplicationRecord to the end of the DiscountApplicationRecordCollection.
Aa186996.pubmethod(en-US,CS.70).gif Clear Clears all DiscountApplicationRecord instances from the DiscountApplicationRecordCollection.
Aa186996.pubmethod(en-US,CS.70).gif CopyTo Copies all the elements in the DiscountApplicationRecordCollection to a compatible one-dimensional array starting at the specified index of the target array.
Aa186996.pubmethod(en-US,CS.70).gif Equals (Inherited from Object.)
Aa186996.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa186996.pubmethod(en-US,CS.70).gif GetEnumerator Retrieves an enumerator that can iterate through the current instance.
Aa186996.pubmethod(en-US,CS.70).gif GetHashCode (Inherited from Object.)
Aa186996.pubmethod(en-US,CS.70).gif GetObjectData Populates a SerializationInfo object with the data needed to serialize the DiscountApplicationRecordCollection.
Aa186996.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa186996.pubmethod(en-US,CS.70).gif IndexOf Overloaded. Returns the index of the DiscountApplicationRecord with the specified identifier.
Aa186996.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa186996.pubmethod(en-US,CS.70).gif Remove Overloaded. Removes the discount application record from the collection.
Aa186996.pubmethod(en-US,CS.70).gif ToString (Inherited from Object.)

Top

Properties

  Name Description
Aa186996.pubproperty(en-US,CS.70).gif Count Gets the count of the number of elements in the DiscountApplicationRecordCollection collection.
Aa186996.pubproperty(en-US,CS.70).gif IsSynchronized Gets a value indicating whether access to the current DiscountApplicationRecordCollection is synchronized (thread-safe).
Aa186996.pubproperty(en-US,CS.70).gif Item Gets the DiscountApplicationRecord from the current collection, based upon the specified index.
Aa186996.pubproperty(en-US,CS.70).gif ParentLineItem Gets the line item to which the current collection belongs.
Aa186996.pubproperty(en-US,CS.70).gif SyncRoot Gets the object used to synchronize access to the DiscountApplicationRecordCollection.

Top

Explicit Interface Implementations

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

Top

See Also

Reference

DiscountApplicationRecordCollection Class

Microsoft.CommerceServer.Runtime.Orders Namespace