System.Runtime.Serialization.IFormatter

Provides functionality for formatting serialized objects.

See Also: IFormatter Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public interface IFormatter

Remarks

This interface must be implemented by any class identified as a formatter in the System.Runtime.Serialization architecture.

Objects controlling their own serialization can do so by implementing the System.Runtime.Serialization.ISerializable interface. In order for an object to be serialized, you must mark that object as being serializable. You can do this by applying the serializable attribute to a class. If any object in the graph is not serializable, serialization will fail.

Requirements

Namespace: System.Runtime.Serialization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0