Export (0) Print
Expand All

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)

abstract Contains : 
        identity:string -> bool  
override Contains : 
        identity:string -> bool


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

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft