JsonValue.SetValue Method (String, Object)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Sets the Json value with specified key and value.

Namespace:  System.Json
Assembly:  System.Json (in System.Json.dll)

public virtual JsonValue SetValue(
	string key,
	Object value
)

Parameters

key
Type: System.String
the key.
value
Type: System.Object
The set value.

Return Value

Type: System.Json.JsonValue
The Json value.

Show: