Help Attribute Won't serialize

  • Thread starter Thread starter Marcus de Leon
  • Start date Start date
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
 
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
 
Back
Top