Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 730 Bytes

jsonobject_setnamedvalue_896207804.md

File metadata and controls

27 lines (19 loc) · 730 Bytes
-api-id -api-type
M:Windows.Data.Json.JsonObject.SetNamedValue(System.String,Windows.Data.Json.IJsonValue)
winrt method

Windows.Data.Json.JsonObject.SetNamedValue

-description

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.

-parameters

-param name

The specified name.

-param value

The specified value.

-remarks

If value is null, then any existing value with the specified name is removed.

-examples

-see-also