Partager via


IndexOf Method

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

Returns the index of the OrderForm with the specified identifier.

Overload List

  Name Description
Aa530579.pubmethod(en-US,CS.70).gif IndexOf(Guid) Returns the zero based index of the OrderForm, specified by the identifier.
Aa530579.pubmethod(en-US,CS.70).gif IndexOf(String) Returns the zero based index of the OrderForm with the specified name.
Aa530579.pubmethod(en-US,CS.70).gif IndexOf(OrderForm) Returns the zero based index of the specified OrderForm, specified by the order form.

Top

Remarks

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

See Also

Reference

OrderFormCollection Class

OrderFormCollection Members

Microsoft.CommerceServer.Runtime.Orders Namespace