I have a class object like this:
public class SomeClass{
public SpecialFields specialFields { get;set;
}
The property SpecialFields is made of a number of arrays:
public class SpecialFields {
public FieldString[] FieldStrings {get;set;}
public FieldDateTime[] FieldDateTimes {get;set;
}
The array FieldDateTimes looks like:
public class FieldDateTime{
public string Name {get;set;}
public string Reference {get;set;}
public DateTime Value {get;set;
}
When I serialize the 'SomeClass' object all the fields get serialized except 'Value'. Is there any way to tell why the XML serializer is ignoring the Value property? The 'Name' and 'Reference' properties do get included.