IList.IndexOf Method
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Private Function IndexOf ( _
promotionCode As Object _
) As Integer Implements IList.IndexOf
'Usage
Dim instance As PromoCodeStringCollection
Dim promotionCode As Object
Dim returnValue As Integer
returnValue = CType(instance, IList).IndexOf(promotionCode)
int IList.IndexOf(
Object promotionCode
)
private:
virtual int IndexOf(
Object^ promotionCode
) sealed = IList::IndexOf
JScript does not support explicit interface implementations.
Parameters
- promotionCode
Type: System..::.Object
Return Value
Type: System..::.Int32
Implements
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
PromoCodeStringCollection Class