IList.Add Method
Namespace: Microsoft.CommerceServer.Runtime.Orders
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Private Function Add ( _
promotionCode As Object _
) As Integer Implements IList.Add
'Usage
Dim instance As PromoCodeStringCollection
Dim promotionCode As Object
Dim returnValue As Integer
returnValue = CType(instance, IList).Add(promotionCode)
int IList.Add(
Object promotionCode
)
private:
virtual int Add(
Object^ promotionCode
) sealed = IList::Add
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