tommym121
asked on
C# - XML serialization of an ENUM
i have an enum like this
enum Importance
{
None=0,
Trivial=1,
Regular=2,
Important=3,
Critica=4
};
I will like to XML serialize it and be able to read from a file . So I can add and modify the enum out side the application. How will I specify the XML attributes in the enum, and what function(s) I need to call to retrival enum form file?
enum Importance
{
None=0,
Trivial=1,
Regular=2,
Important=3,
Critica=4
};
I will like to XML serialize it and be able to read from a file . So I can add and modify the enum out side the application. How will I specify the XML attributes in the enum, and what function(s) I need to call to retrival enum form file?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window