XML serialize

VB.NET is there a way to serialize a class without writing to file but to memory instead?
LVL 5
thenrichAsked:
Who is Participating?
 
Tony McCreathTechnical SEO ConsultantCommented:
The XmlSerializer.Serialize() method lets you specify a Stream or Writer class.

You should be able to pass in a MemoryStream or Writer that writes to a MemoryStream
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.