Click here to Skip to main content
15,917,702 members
Home / Discussions / C#
   

C#

 
QuestionNot logging in application log Pin
Dpriya19-Apr-06 11:11
Dpriya19-Apr-06 11:11 
AnswerRe: Not logging in application log Pin
Ricardo Casquete19-Apr-06 23:12
Ricardo Casquete19-Apr-06 23:12 
QuestionNotifyIcon - Changing the icon Pin
eggsovereasy19-Apr-06 11:03
eggsovereasy19-Apr-06 11:03 
AnswerRe: NotifyIcon - Changing the icon Pin
Josh Smith19-Apr-06 12:38
Josh Smith19-Apr-06 12:38 
QuestionSerialization of Parent with Child Objects Pin
sharkbait19-Apr-06 10:29
sharkbait19-Apr-06 10:29 
AnswerRe: Serialization of Parent with Child Objects Pin
Josh Smith19-Apr-06 10:38
Josh Smith19-Apr-06 10:38 
GeneralRe: Serialization of Parent with Child Objects Pin
sharkbait19-Apr-06 10:59
sharkbait19-Apr-06 10:59 
GeneralRe: Serialization of Parent with Child Objects Pin
Josh Smith19-Apr-06 13:04
Josh Smith19-Apr-06 13:04 
Without the actual error message it's hard to say what the problem is. But, here are some things to keep in mind about the XmlSerializer:

1) It does not serialize object graphs with circularites (A references B, and B directly or indirectly references A). It makes exceptions to this rule for a select few classes in the .NET framework, such as the DataSet, but that doesn't help the rest of us.

2) As 'theRealCondor' mentioned, it only serializes public get/set properties of an object. (It also will serialize public fields, but those should never exist!)

3) There are some attributes you can use to control how the serialization of sub-objects is performed (this might be relevant to your issue, somehow).

Here's a great tutorial on everything you would ever want to know about the XmlSerializer: http://www.topxml.com/xmlserializer/[^]

I hope that helps,
Josh
AnswerRe: Serialization of Parent with Child Objects Pin
LongRange.Shooter19-Apr-06 10:44
LongRange.Shooter19-Apr-06 10:44 
QuestionCrystal: Formula missing in subreports Pin
axio19-Apr-06 10:02
axio19-Apr-06 10:02 
AnswerRe: Crystal: Formula missing in subreports Pin
axio19-Apr-06 10:13
axio19-Apr-06 10:13 
QuestionControl Hosting in DataGridViewCell Pin
firestorm35319-Apr-06 9:23
firestorm35319-Apr-06 9:23 
AnswerRe: Control Hosting in DataGridViewCell Pin
firestorm35320-Apr-06 5:04
firestorm35320-Apr-06 5:04 
QuestionWSE 2.0, TCP question. Pin
JasenF19-Apr-06 9:17
professionalJasenF19-Apr-06 9:17 
AnswerRe: WSE 2.0, TCP question. Pin
Michael A. Barnhart20-Apr-06 1:45
Michael A. Barnhart20-Apr-06 1:45 
QuestionVectorisation geometric shape in c# Pin
Marco Delgado19-Apr-06 8:31
Marco Delgado19-Apr-06 8:31 
AnswerRe: Vectorisation geometric shape in c# Pin
Ravi Bhavnani19-Apr-06 9:07
professionalRavi Bhavnani19-Apr-06 9:07 
GeneralRe: Vectorisation geometric shape in c# Pin
Marco Delgado19-Apr-06 9:19
Marco Delgado19-Apr-06 9:19 
AnswerRe: Click or MouseDown Event in FLASH Pin
LongRange.Shooter19-Apr-06 10:47
LongRange.Shooter19-Apr-06 10:47 
NewsVery bad FLAW IN .NET CLR Pin
Mike SS19-Apr-06 8:25
Mike SS19-Apr-06 8:25 
AnswerRe: Very bad FLAW IN .NET CLR Pin
leppie20-Apr-06 1:04
leppie20-Apr-06 1:04 
QuestionHelp needed in winforms Pin
satishrg19-Apr-06 7:46
satishrg19-Apr-06 7:46 
QuestionVSProject Project references collection Pin
acuze10419-Apr-06 7:38
acuze10419-Apr-06 7:38 
QuestionStrings to ints Pin
sroberts8219-Apr-06 7:03
sroberts8219-Apr-06 7:03 
AnswerRe: Strings to ints Pin
Drew McGhie19-Apr-06 7:23
Drew McGhie19-Apr-06 7:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.