Add()

IDictionary::Add(const TKey&, const TValue&) method

Adds key-value pair into container.

virtual void System::Collections::Generic::IDictionary<TKey, TValue>::Add(const TKey &key, const TValue &value)=0

Arguments

ParameterTypeDescription
keyconst TKey&Key to add.
valueconst TValue&Value to add.

See Also