IFormatter Members

Provides functionality for formatting serialized objects.

The following tables list the members exposed by the IFormatter type.

  Name Description
Public property Binder Gets or sets the SerializationBinder that performs type lookups during deserialization.
Public property Context Gets or sets the StreamingContext used for serialization and deserialization.
Public property SurrogateSelector Gets or sets the SurrogateSelector used by the current formatter.

  Name Description
Public method Deserialize Deserializes the data on the provided stream and reconstitutes the graph of objects.
Public method Serialize Serializes an object, or graph of objects with the given root to the provided stream.

Community Additions