IndexOf Method

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

Returns the index of the OrderGroup with the specified identifier.

Overload List

  Name Description
Aa530586.pubmethod(en-US,CS.70).gif IndexOf(Guid) Returns the zero based index of the OrderGroup, specified by the identifier.
Aa530586.pubmethod(en-US,CS.70).gif IndexOf(OrderGroup) Returns the zero based index of the OrderGroup, specified by the order group.

Top

Remarks

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

See Also

Reference

OrderGroupCollection Class

OrderGroupCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace