xml serialization: adding a “type=list” attribute to a property

Alejandrinapix

New Member
I want a "type=list" attribute on a my property on my class.this is the property on the class:\[code\]public List<Waarnemer> Involved { get { return mWaarnemer;} set { mWaarnemer = value; } }\[/code\]This should be the result after serialization:\[code\]<Involved type="list">...</Involved>\[/code\]I have tried several kinds of decoration but can find the solution.
 
Back
Top