Determines whether the collection contains an element with
the specified key.
Namespace:
Endeca.Data.Content.Collections
Assembly:
Endeca.Data.Content (in Endeca.Data.Content.dll) Version: 2.1.2.0 (2.1.2.0)
Syntax
| C# |
|---|
public bool Contains(
TKey key
) |
| Visual Basic (Declaration) |
|---|
Public Function Contains ( _
key As TKey _
) As Boolean |
| Visual C++ |
|---|
public:
bool Contains(
TKey key
) |
Return Value
True if the
KeyedCollection<(Of <(TKey, TItem>)>) contains
an element with the specified key; otherwise, false.
Exceptions
See Also