Click or drag to resize
Json.NET

DefaultSerializationBinderBindToType 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 Type BindToType(
	string assemblyName,
	string typeName
)

Parameters

assemblyName
Type: SystemString
Specifies the Assembly name of the serialized object.
typeName
Type: SystemString
Specifies the Type name of the serialized object.

Return Value

Type: Type
The type of the object the formatter creates a new instance of.

Implements

ISerializationBinderBindToType(String, String)
See Also