|
-
Feb 21st, 2003, 04:13 PM
#1
Thread Starter
Fanatic Member
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|