Provides functionality for formatting serialized objects.
<ComVisibleAttribute(True)> _ Public Interface IFormatter
Dim instance As IFormatter
[ComVisibleAttribute(true)] public interface IFormatter
[ComVisibleAttribute(true)] public interface class IFormatter
public interface IFormatter
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 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.
All formatters must implement this interface. Use Serialize to serialize an object or graph of objects. Use Deserialize to deserialize a stream and create a clone of the original object or graph of objects.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
IFormatter Interface Implemented by a few classes
Formatter Class http://msdn2.microsoft.com/en-us/library/system.runtime.serialization.formatter.aspx
BinaryFormatter Class (http://msdn2.microsoft.com/en-us/library/system.runtime.serialization.formatters.binary.binaryformatter.aspx)
SoapFormatter http://msdn2.microsoft.com/en-us/library/system.runtime.serialization.formatters.soap.soapformatter.aspx
See also IRemotingFormatter Interface http://msdn2.microsoft.com/en-us/library/system.runtime.remoting.messaging.iremotingformatter(VS.85).aspx