System::Collections::ObjectModel::KeyedCollection::Contains 方法
KeyedCollection::Contains method
检查键是否存在于容器中。
bool System::Collections::ObjectModel::KeyedCollection<TKey, TItem>::Contains(TKey key)
| 参数 | 类型 | 描述 |
|---|---|---|
| 键 | TKey | 要查找的键。 |
ReturnValue
如果找到键则为 true,否则为 false。
另见
- Class KeyedCollection
- Namespace System::Collections::ObjectModel
- Library Aspose.Font for C++