Help Attribute Won't serialize

M

Marcus de Leon

Hi does anybody know what can cause a value not to serialize as an
attribute as it's supposed to?

I am using [System.Xml.Serialization.XmlAttributeAttribute()], but it
never seems to show up.

Any advice would be helpful.

Thanks,

Marcus de Leon
 
D

dunawayc

Hi does anybody know what can cause a value not to serialize as an
attribute as it's supposed to?

I am using [System.Xml.Serialization.XmlAttributeAttribute()], but it
never seems to show up.

Any advice would be helpful.

Thanks,

Marcus de Leon

You'll have to provide more information, perhaps show the class you're
trying to serialize.

The most common cause of a value not serializing is that it is not
public or that it is read only.

Chris
 

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