ContainsKey()

IDictionary::ContainsKey(const TKey&) const method

Checks if container contains key.

virtual bool System::Collections::Generic::IDictionary<TKey, TValue>::ContainsKey(const TKey &key) const =0

Arguments

ParameterTypeDescription
keyconst TKey&Key to look for.

Return Value

True if key is present, false otherwise.

See Also