How do I add a attribute to a XmlArray element ( not to XmlArrayItem ) while serializing the object?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Generic Generics in Managed C++
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
XmlArray is used to tell the xmlserializer to treat the property as array and serialize it according its parameters for the element names.
will give you
In order to add an xml attribute to FullNames element, you need declare a class for it.
This will give you