JsonObject.SetNamedValue(String, IJsonValue) JsonObject.SetNamedValue(String, IJsonValue) JsonObject.SetNamedValue(String, IJsonValue) JsonObject.SetNamedValue(String, IJsonValue) Method

Definition

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.

public : void SetNamedValue(Platform::String name, IJsonValue value)
void SetNamedValue(winrt::hstring name, IJsonValue value) const;
public void SetNamedValue(String name, IJsonValue value)
Public Sub SetNamedValue(name As String, value As IJsonValue)
Parameters
name
String String

The specified name.

value
IJsonValue IJsonValue

The specified value.