System::Collections::Generic::IReadOnlyDictionary class

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>>
ParameterDescription
TKeyKey type.
TValueValue type.

Methods

MethodDescription
virtual ContainsKey(const TKey&) constRTTI information.
virtual idx_get(const TKey&) constGetter function.
virtual TryGetValue(const TKey&, TValue&) constLooks for value and retreives it if found.

See Also