System::Collections::ObjectModel::KeyedCollection::Contains method

KeyedCollection::Contains method

Checks if key is present in container.

bool System::Collections::ObjectModel::KeyedCollection<TKey, TItem>::Contains(TKey key)
ParameterTypeDescription
keyTKeyKey to look for.

ReturnValue

True if key is found, false otherwise.

See Also