Serialization Collections?
Hi
Is it possible to serialize collections variables?
I get the following error on
oBinaryFormatter.Serialize(oFileStream, _oCollection)
variables are declare like
Dim oBinFormatter As BinaryFormatter
Dim oFileStream As FileStream
Dim _oCollection As Collection = New Collection()
An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll
Additional information: The type Microsoft.VisualBasic.Collection in Assembly Microsoft.VisualBasic, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a is not marked as serializable.