Share via


ShippingDiscountCollection Members

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

This class cannot be inherited. Represents a collection of shipping discount records for the shipments related to an order form.

The ShippingDiscountCollection type exposes the following members.

Constructors

  Name Description
Aa154675.pubmethod(en-US,CS.70).gif ShippingDiscountCollection Initializes a new instance of the ShippingDiscountCollection class using the specified parent shipment and discount.

Top

Methods

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

Top

Properties

  Name Description
Aa154675.pubproperty(en-US,CS.70).gif Count Gets the current count of all the unique discounts contained within the current ShippingDiscountCollection collection.
Aa154675.pubproperty(en-US,CS.70).gif IsSynchronized Gets a value indicating whether access to the ShippingDiscountCollection is synchronized (thread-safe).
Aa154675.pubproperty(en-US,CS.70).gif Item Gets a ShippingDiscountRecord from the current collection, based upon the specified index.
Aa154675.pubproperty(en-US,CS.70).gif ParentShipment Gets the Shipment to which the ShippingDiscountCollection belongs.
Aa154675.pubproperty(en-US,CS.70).gif SyncRoot Gets the object used to synchronize access to the ShippingDiscountCollection.

Top

Explicit Interface Implementations

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

Top

See Also

Reference

ShippingDiscountCollection Class

Microsoft.CommerceServer.Runtime.Orders Namespace