SerializationBinder.BindToName Method (System.Runtime.Serialization)

Switch View :
ScriptFree
.NET Framework Class Library
SerializationBinder.BindToName Method

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)
Syntax

Visual Basic
Public Overridable Sub BindToName ( _
	serializedType As Type, _
	<OutAttribute> ByRef assemblyName As String, _
	<OutAttribute> ByRef typeName As String _
)
C#
public virtual void BindToName(
	Type serializedType,
	out string assemblyName,
	out string typeName
)
Visual C++
public:
virtual void BindToName(
	Type^ serializedType, 
	[OutAttribute] String^% assemblyName, 
	[OutAttribute] String^% typeName
)
F#
abstract BindToName : 
        serializedType:Type * 
        assemblyName:string byref * 
        typeName:string byref -> unit 
override BindToName : 
        serializedType:Type * 
        assemblyName:string byref * 
        typeName:string byref -> unit 

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.
Version Information

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also

Reference