ReadOnlyMetadataCollection(Of T).Contains Method (String)


Determines whether the collection contains an item with the specified identity.

Namespace:   System.Data.Metadata.Edm
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

Public Overridable Function Contains (
	identity As String
) As Boolean


Type: System.String

The identity of the item.

Return Value

Type: System.Boolean

true if the collection contains the item to be searched for; otherwise, false. The default is false.

.NET Framework
Available since 3.5
Return to top