Click or drag to resize
Json.NET

DefaultSerializationBinder.BindToName Method

 
When overridden in a derived class, controls the binding of a serialized object to a type.

Namespace:  Newtonsoft.Json.Serialization
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public override void BindToName(
	Type serializedType,
	out string assemblyName,
	out string typeName
)

Parameters

serializedType
Type: System.Type
The type of the object the formatter creates a new instance of.
assemblyName
Type: System.String
Specifies the Assembly name of the serialized object.
typeName
Type: System.String
Specifies the Type name of the serialized object.

Implements

ISerializationBinder.BindToName(Type, String, String)
See Also