IndexOf Method
For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.
Returns the index of the PromoCodeRecord with the specified identifier.
Overload List
Name | Description | |
---|---|---|
IndexOf(Int32) | Returns the zero based index of the PromoCodeRecord specified by the identifier. | |
IndexOf(PromoCodeRecord) | Returns the zero based index of the PromoCodeRecord specified by the PromoCodeRecord. |
Top
Remarks
Searches for the specified PromoCodeRecord and returns the zero-based index of the first occurrence within the entire PromoCodeRecordCollection. Returns -1 if the specified object is not found.
See Also
Reference
PromoCodeRecordCollection Class