XML Question

M

Mark M.

I'm using a tool to validate my code (FxCop). It says
that I should make a property that returns a collection to
be read-only. I can't do this though because I need it
for deserialization.

Then it says:
"Note that the XmlSerializer class has special support for
deserializing read-only collections. See the XmlSerializer
overview for more information."

This sounds good but I can't find the info it's talking
about. Can anyone else?

Thanks,
Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top