JsonObject.Add method

Applies to Windows and Windows Phone

Adds a new key-value pair to the JsonObject.

Syntax


public void Add(
  KeyValuePair<String,IJsonValue> item
)

Parameters

item

Type: KeyValuePair<String,IJsonValue>

The key-value pair to add.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Data.Json

See also

JsonObject

 

 

Show:
© 2014 Microsoft