XmlEnumAttribute Constructor (String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the XmlEnumAttribute class, and specifies the XML value that the XmlSerializer generates or recognizes (when it serializes or deserializes the enumeration, respectively).
Assembly: System.Xml (in System.Xml.dll)
Parameters
- name
- Type: System.String
The overriding name of the enumeration member.
Note: |
|---|
You can use the word XmlEnum in your code instead of the longer XmlEnumAttribute. |
Show:
Note: