SerializationBinder.BindToType Method (String, String)


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

Namespace:   System.Runtime.Serialization
Assembly:  mscorlib (in mscorlib.dll)

public abstract Type BindToType(
	string assemblyName,
	string typeName


Type: System.String

Specifies the Assembly name of the serialized object.

Type: System.String

Specifies the Type name of the serialized object.

Return Value

Type: System.Type

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

Notes to Inheritors:

You must implement the current method in a derived class.

SerializationBinder Example#1

.NET Framework
Available since 1.1
Return to top