Click or drag to resize
Json.NET

JConstructor Constructor (String, Object)

 
Initializes a new instance of the JConstructor class with the specified name and content.

Namespace:  Newtonsoft.Json.Linq
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public JConstructor(
	string name,
	Object content
)

Parameters

name
Type: SystemString
The constructor name.
content
Type: SystemObject
The contents of the constructor.
See Also