BindToType(String,String) Method (AnnotationSerializationBinder)
Controls the binding of a serialized object to a type.
'Declaration
Public Overrides Function BindToType( _
ByVal As System.String, _
ByVal As System.String _
) As System.Type
public override System.Type BindToType(
System.String ,
System.String
)
public: System.Type* BindToType(
System.String ,
System.String
); override
public:
System.Type^ BindToType(
System.String ,
System.String
); override
Parameters
- assemblyName
- Specifies the System.Reflection.Assembly name of the serialized object.
- typeName
- Specifies the System.Type name of the serialized object.
Return Value
The type of the object the formatter creates a new instance of.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5