Contains Method (String)
Collapse the table of content
Expand the table of content

ReadOnlyMetadataCollection<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 virtual bool Contains(
	string identity


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
© 2015 Microsoft