I need to serialize a class with properties such as those below and below that is the needed xml result. I am not sure which attributes will get those results if I want to call the microsoft serializer. I do I need to build the xml string my self in code? Thanks.
Public Property Unit() as string = "100"
public Property UnitDesc as string = "Supervisor Unit"
Result needed for xml:
<Unit ID = "100">Supervisor Unit</Unit>
Public Property Unit() as string = "100"
public Property UnitDesc as string = "Supervisor Unit"
Result needed for xml:
<Unit ID = "100">Supervisor Unit</Unit>