JsonObject.SetNamedValue(String, IJsonValue) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual void SetNamedValue(Platform::String ^ name, IJsonValue ^ value) = SetNamedValue;
void SetNamedValue(winrt::hstring const& name, IJsonValue const& value);
public void SetNamedValue(string name, IJsonValue value);
function setNamedValue(name, value)
Public Sub SetNamedValue (name As String, value As IJsonValue)
Parameters
- name
-
String
Platform::String
winrt::hstring
The specified name.
- value
- IJsonValue
The specified value.
Remarks
If value
is null
, then any existing value with the specified name is removed.