System::Collections::Generic::IDictionary::ContainsKey 方法
IDictionary::ContainsKey method
检查容器是否包含键。
virtual bool System::Collections::Generic::IDictionary<TKey, TValue>::ContainsKey(const TKey &key) const =0
| 参数 | 类型 | 描述 |
|---|---|---|
| 键 | const TKey& | 要查找的键。 |
ReturnValue
如果键存在则为 true,否则为 false。
另见
- Class IDictionary
- Namespace System::Collections::Generic
- Library Aspose.Font for C++