This documentation is archived and is not being maintained.

Formatter.Binder Property

When overridden in a derived class, gets or sets the SerializationBinder used with the current formatter.

The Formatter type is not CLS-compliant. For more information about CLS compliance, see What is the Common Language Specification.

[Visual Basic]
Public MustOverride Property Binder As SerializationBinder  _
   Implements IFormatter.Binder
[C#]
public abstract SerializationBinder Binder {get; set;}
[C++]
public: __property virtual SerializationBinder* get_Binder() = 0;
public: __property virtual void set_Binder(SerializationBinder*) = 0;
[JScript]
public abstract function get Binder() : SerializationBinder;
public abstract function set Binder(SerializationBinder);

Property Value

The SerializationBinder used with the current formatter.

Implements

IFormatter.Binder

Remarks

The SerializationBinder performs lookups for types from the type names passed during deserialization. If no SerializationBinder is set, a default is used.

Notes to Inheritors:  You must implement this property in a derived class.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Formatter Class | Formatter Members | System.Runtime.Serialization Namespace

Show: