AddReference Method (context, reference, value)

Json.NET

Json.NET - Quick Starts & API Documentation AddReference Method (context, reference, value)
NamespacesNewtonsoft.Json.SerializationIReferenceResolverAddReference(Object, String, Object)
Adds a reference to the specified object.
Declaration Syntax
C# Visual Basic Visual C++
void AddReference(
	Object context,
	string reference,
	Object value
)
Sub AddReference ( _
	context As Object, _
	reference As String, _
	value As Object _
)
void AddReference(
	Object^ context, 
	String^ reference, 
	Object^ value
)
Parameters
context (Object)
The serialization context.
reference (String)
The reference.
value (Object)
The object to reference.

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