How To Serialize or Persist The Contents Of An Array Using The SOAPFormatter
'Create an Array (LinePoints) that will be serialized to a file
Dim s As System.IO.Stream =
System.IO.File.Open("C:\Linepoints.binary", FileMode.Create,
FileAccess.ReadWrite)
Dim b As SoapFormatter = New SoapFormatter
b.Serialize(s, LinePoints)
s.Flush()
s.Close()