Add Method (propertyName, value)

Json.NET

Json.NET - Quick Starts & API Documentation Add Method (propertyName, value)
NamespacesNewtonsoft.Json.LinqJObjectAdd(String, JToken)
Adds the specified property name.
Declaration Syntax
C# Visual Basic Visual C++
public void Add(
	string propertyName,
	JToken value
)
Public Sub Add ( _
	propertyName As String, _
	value As JToken _
)
public:
virtual void Add(
	String^ propertyName, 
	JToken^ value
) sealed
Parameters
propertyName (String)
Name of the property.
value (JToken)
The value.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.6.14930)