Re: How to XmlSerialize an Object that has an interface in it
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
JPK wrote:
XmlSerializer is Ignoring XmlIgnore
Funny, I always use [XmlIgnoreAttribute].
Your code should look like this:
class A
{
string a;
[XmlIgnoreAttribute]
ISomeInterface x;
}
.
Relevant Pages
- Re: How to XmlSerialize an Object that has an interface in it
... Funny, I always use. ... [XmlIgnoreAttribute] ... ISomeInterface x; ... (microsoft.public.dotnet.languages.csharp) - Re: A joke for Chuckles.......
... The first one said 'String Wet - Watch out it's Raining' ... The second one said 'String Flapping About - Watch out it's Windy' ... I thought it was funny. ... a racial joke and you don't belong to the racial group. ... (rec.knives) - Re: more Latin translations
... I made a mistake. ... If you read the posts of this string chronologically ... actually quite funny coming from your mouth. ... KRothi Thursday 14 Februari (first contribution in this string). ... (soc.genealogy.medieval) - Re: Is this a bug or what am I missing?
... Conversion from string "" to type 'Date' is not valid. ... Not funny. ... On the line with 2 '**'s, the above exception changes to: ... .NullableOfDateField = CDate ... (microsoft.public.dotnet.languages.vb) - Re: [Lit.] Buffer overruns
... If you want funny, there was that version of MS-DOS back around ... A subsequent TYPE OUT.TXT (or any ... the COPY command's continuing refusal to copy a zero-length file ... (sci.crypt) |
|