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
)
Parameters
- item
Type: System.Collections.Generic.KeyValuePair<String, JsonValue>
The KeyValuePair<TKey, TValue> to add.
Implements
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.