다음을 통해 공유


JsonObject.Add Method (KeyValuePair<String, JsonValue>)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Adds a key/value pair to the JSON CLR object.

Namespace:  System.Json
Assembly:  System.Json (in System.Json.dll)

Syntax

'Declaration
Public Sub Add ( _
    item As KeyValuePair(Of String, JsonValue) _
)
public void Add(
    KeyValuePair<string, JsonValue> item
)

Implements

ICollection<T>.Add(T)

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.