Click or drag to resize
Json.NET

DefaultSerializationBinderBindToName 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: SystemType
The type of the object the formatter creates a new instance of.
assemblyName
Type: SystemString
Specifies the Assembly name of the serialized object.
typeName
Type: SystemString
Specifies the Type name of the serialized object.

Implements

ISerializationBinderBindToName(Type, String, String)
See Also