I have class :
public Test
{
[XmlAttribute("attribute1")]
public string attribute1;
public Test(){}
/* .... */
}
but attribute attribute1 makes sense only during deserialization of class Test.
When I serialize this class I don't want this attribute to appear.
Is it possible to dynamically change [XmlAttribute("attribute1")] to [XmlIgnore] ???
--
WielO
mailto:[EMAIL PROTECTED]
-----------------------------------------------------
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.