J
jhcorey
I have a class that I'm serializing to xml. To omit some properties
from the xml I use the [System.Xml.Serialization.XmlIgnore] attribute.
Now I'm thinking that sometimes I want to include those properties, so
I'm wondering if it's possible to inherit from the original class
overriding that attribute (or leave the attribute out of the base class
and put it in the inherited class).
(Note that I'm struggling with the ISerializable interface, and would
be happy to leave that out of the conversation).
TIA,
Jim
from the xml I use the [System.Xml.Serialization.XmlIgnore] attribute.
Now I'm thinking that sometimes I want to include those properties, so
I'm wondering if it's possible to inherit from the original class
overriding that attribute (or leave the attribute out of the base class
and put it in the inherited class).
(Note that I'm struggling with the ISerializable interface, and would
be happy to leave that out of the conversation).
TIA,
Jim