Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Serializing Generic Collections
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01222694
Message ID:
01222831
Views:
32
>I am building an app that is using Generic IEnumerble Collection. When I serialize the collection, all of the children in the collection serialize as I expect. However, no public properties of the Collection itself serialize. Is this a bug with Serializer?

Make sure the type you are serializing in the collection is marked as serializable.

I can't remember now whether IEnumerable works properly with serialization. I tend to use List and that definitely works.

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform