ExpandoObject::IDictionary<String^, Object^>::Add Method (String^, Object^)

 

Adds the specified key and value to the dictionary.

Namespace:   System.Dynamic
Assembly:  System.Core (in System.Core.dll)

private:
virtual void Add(
	String^ key,
	Object^ value
) sealed = IDictionary<String^, Object^>::Add

Parameters

key
Type: System::String^

The object to use as the key.

value
Type: System::Object^

The object to use as the value.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: