다음을 통해 공유


IReadOnlyCollection<T>.Contains Method

Determines whether the collection contains a specific item.

Namespace:  Microsoft.BusinessData.Infrastructure.Collections
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Function Contains ( _
    item As T _
) As Boolean
'Usage
Dim instance As IReadOnlyCollection
Dim item As T
Dim returnValue As Boolean

returnValue = instance.Contains(item)
bool Contains(
    T item
)

Parameters

  • item
    Type: T

    The item to search for.

Return Value

Type: System.Boolean
true if the item is found in the collection; otherwise, false.

See Also

Reference

IReadOnlyCollection<T> Interface

IReadOnlyCollection<T> Members

Microsoft.BusinessData.Infrastructure.Collections Namespace