다음을 통해 공유


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

See Also

Reference

DiscountItemCollection Class

DiscountItemCollection Members

Microsoft.CommerceServer.Runtime.Marketing Namespace