Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Serializing Generic Collections
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01222694
Message ID:
01222831
Vues:
24
>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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform