From: John Grandy on
How to mark a public member of a class so that it is not included in an xml
serialization or deserialization ? Thanks.


From: Family Tree Mike on
On 5/5/2010 2:59 PM, John Grandy wrote:
> How to mark a public member of a class so that it is not included in an xml
> serialization or deserialization ? Thanks.
>
>

Mark the property with the attribute XmlIgnore as below:

[XmlIgnore()]
public string NotNecessaryString {get; set;}

--
Mike