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: TThe 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