Patrick,
What type of object is formatter defined to be? ;-)
For the Binary formatter look for the
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
For the XML formatter look for the
System.Runtime.Serialization.Formatters.Soap.SoapFormatter
Both of which implement the
System.Runtime.Remoting.Messaging.IRemotingFormatter &
System.Runtime.Serialization.IFormatter interfaces.
There is also System.Runtime.Serialization.Formatter base class, which I
believe is used by the BinaryFormatter & SoapFormatter, but I'm not sure
how. The help for Formatter says "Provides base functionality for the common
language runtime serialization formatters", But BinaryFormatter &
SoapFormatter do not appear to inherit from Formatter... But I digress...
;-)
Hope this helps
Jay