我有一个称为“协调”的内容,载于另一个称为“部分”的类别清单。
public struct Coordinate
{
public double Latitude { get; set; }
public double Longtitude { get; set; }
public double Altitude { get; set; }
public DateTime Time { get; set; }
}
public class Segment
{
private List<Coordinate> coordinates;
...
}
我愿利用银灯(视窗7)通过XmlSerializer对Segment进行序列化。 我从:XmlSerializern t supportList<T>
。 如何以建议的方式将可再生阵列坐标序列化?
感谢Jurgen