JsonObject.Add method

Applies to Windows and Windows Phone

Adds an item to the JsonObject.

Syntax


public void Add(
  string key, 
  IJsonValue value
)

Parameters

key

Type: System.String

The key of the item to add.

value

Type: IJsonValue

The item value 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