## IDictionary::ContainsKey method


يتحقق مما إذا كانت الحاوية تحتوي على المفتاح.

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


| Parameter | Type | الوصف |
| --- | --- | --- |
| المفتاح | const TKey\& | المفتاح للبحث عنه. |

### ReturnValue

صحيح إذا كان المفتاح موجودًا، خطأ خلاف ذلك.

## انظر أيضًا

* Class [IDictionary](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
