-api-id | -api-type |
---|---|
M:Windows.Data.Json.JsonObject.SetNamedValue(System.String,Windows.Data.Json.IJsonValue) |
winrt method |
Sets the value of the first JsonValue object with the specified name to the specified value. If no such object is found, a new name and JsonValue pair is inserted into the JSON object.
The specified name.
The specified value.
If value
is null
, then any existing value with the specified name is removed.