ReadOnlyMetadataCollection<T>.Contains Method
Namespace:
System.Data.Entity.Core.Metadata.Edm
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Contains(T) | (Inherited from ReadOnlyCollection<T>.) |
![]() | Contains(String) | Determines whether the collection contains an item with the specified identity. |
ReadOnlyMetadataCollection<T>.Contains Method (String)
Determines whether the collection contains an item with the specified identity.
Parameters
- identity
-
Type:
System.String
The identity of the item.
Return Value
Type: System.Booleantrue if the collection contains the item to be searched for; otherwise, false. The default is false.