System::Collections::Generic::IReadOnlyDictionary class
Contents
[
Hide
]IReadOnlyDictionary class
Interface for read-only dictionary-alike containers. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
template<typename TKey,typename TValue>class IReadOnlyDictionary : public System::Collections::Generic::IReadOnlyCollection<KeyValuePair<TKey, TValue>>
| Parameter | Description |
|---|---|
| TKey | Key type. |
| TValue | Value type. |
Methods
| Method | Description |
|---|---|
| virtual ContainsKey(const TKey&) const | RTTI information. |
| virtual idx_get(const TKey&) const | Getter function. |
| virtual TryGetValue(const TKey&, TValue&) const | Looks for value and retreives it if found. |
See Also
- Class IReadOnlyCollection
- Namespace System::Collections::Generic
- Library Aspose.TeX for C++