ICollection(DiscountItem).Contains Method
Namespace: Microsoft.CommerceServer.Runtime.Marketing
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Private Function Contains ( _
item As DiscountItem _
) As Boolean Implements ICollection(Of DiscountItem).Contains
'Usage
Dim instance As DiscountItemCollection
Dim item As DiscountItem
Dim returnValue As Boolean
returnValue = CType(instance, ICollection(Of DiscountItem)).Contains(item)
bool ICollection<DiscountItem>.Contains(
DiscountItem item
)
private:
virtual bool Contains(
DiscountItem^ item
) sealed = ICollection<DiscountItem^>::Contains
JScript does not support explicit interface implementations.
Parameters
Return Value
Type: System..::.Boolean
Implements
ICollection<(Of <(T>)>)..::.Contains(T)
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.