System::Collections::Concurrent::ConcurrentDictionary::TryAdd method
ConcurrentDictionary::TryAdd method
키/값 쌍을 사전에 추가하려 시도합니다.
bool System::Collections::Concurrent::ConcurrentDictionary<TKey, TValue>::TryAdd(const TKey &key, const TValue &value)
| 매개변수 | 형식 | 설명 |
|---|---|---|
| key | const TKey& | 추가할 키. |
| value | const TValue& | 추가할 값. |
ReturnValue
키/값 쌍이 성공적으로 추가되면 true, 그렇지 않으면 false.
또 보기
- Class ConcurrentDictionary
- Namespace System::Collections::Concurrent
- Library Aspose.Page for C++