ExpandoObject.IDictionary<String, Object>.Add Method

Adds the specified key and value to the dictionary.

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

Syntax

'Declaration
Private Sub Add ( _
    key As String, _
    value As Object _
) Implements IDictionary(Of String, Object).Add
void IDictionary<string, Object>.Add(
    string key,
    Object value
)
private:
virtual void Add(
    String^ key, 
    Object^ value
) sealed = IDictionary<String^, Object^>::Add
private abstract Add : 
        key:string * 
        value:Object -> unit  
private override Add : 
        key:string * 
        value:Object -> unit
JScript does not support explicit interface implementations.

Parameters

Implements

IDictionary<TKey, TValue>.Add(TKey, TValue)

Version Information

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8

Portable Class Library

Supported in: Portable Class Library

See Also

Reference

ExpandoObject Class

System.Dynamic Namespace