IndexOf Method

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

Returns the index of the Payment with the specified identifier.

Overload List

  Name Description
Aa530594.pubmethod(en-US,CS.70).gif IndexOf(Guid) Returns the zero based index of the Payment specified by the identifier.
Aa530594.pubmethod(en-US,CS.70).gif IndexOf(Payment) Returns the zero based index of the Payment specified by the payment.

Top

Remarks

Searches for the specified Payment and returns the zero-based index of the first occurrence within the entire PaymentCollection. Returns -1 if the specified object is not found.

See Also

Reference

PaymentCollection Class

PaymentCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace