Patrick,
What type of object is formatter defined to be? ;-)
For the Binary formatter look for the
System.Runtime.Serialization.Formatters.Binary.Bin aryFormatter
For the XML formatter look for the
System.Runtime.Serialization.Formatters.Soap.SoapF ormatter
Both of which implement the
System.Runtime.Remoting.Messaging.IRemotingFormatt er &
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
"Patrick De Ridder" <ng****@freeler.nl> wrote in message
news:ml********************************@4ax.com...
Which library should I include for the formatter in
formatter.Serialize(output, record);
Many thanks.
--
Patrick De Ridder
ng****@freeler.nl