IndexOf Method

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

Returns the index of the OrderAddress with the specified identifier.

Overload List

  Name Description
Aa530557.pubmethod(en-US,CS.70).gif IndexOf(String) Returns the zero based index of the OrderAddress with the specified name.
Aa530557.pubmethod(en-US,CS.70).gif IndexOf(OrderAddress) Returns the zero based index of the specified OrderAddress.

Top

Remarks

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

See Also

Reference

OrderAddressCollection Class

OrderAddressCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace