다음을 통해 공유


LineItemCollection Members

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

Represents a collection of LineItem objects.

The LineItemCollection type exposes the following members.

Constructors

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

Top

Methods

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

Top

Properties

  Name Description
Aa153545.pubproperty(en-US,CS.70).gif Count Gets the count of the number of elements in the LineItemCollection collection.
Aa153545.pubproperty(en-US,CS.70).gif IsSynchronized Gets a value indicating whether access to the current LineItemCollection is synchronized (thread-safe).
Aa153545.pubproperty(en-US,CS.70).gif Item Gets the LineItem object from the current collection, based upon the specified index.
Aa153545.pubproperty(en-US,CS.70).gif ParentOrderForm Gets the OrderForm object to which this LineItemCollection collection belongs.
Aa153545.pubproperty(en-US,CS.70).gif SyncRoot Gets an object used to synchronize access to the current LineItemCollection.

Top

Explicit Interface Implementations

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

Top

See Also

Reference

LineItemCollection Class

Microsoft.CommerceServer.Runtime.Orders Namespace