<messages> <import> <errormessage key="1" value="1"></errormessage> <errormessage key="2" value="2"></errormessage> <errormessage key="3" value="4"></errormessage> <errormessage key="4" value="4"></errormessage> <errormessage key="5" value="5"></errormessage> <errormessage key="6" value="6"></errormessage> <errormessage key="7" value="7"></errormessage> </import> <qc> <errormessage key="11" value="11"></errormessage> <errormessage key="21" value="21"></errormessage> <errormessage key="31" value="41"></errormessage> <errormessage key="41" value="41"></errormessage> <errormessage key="51" value="51"></errormessage> <errormessage key="61" value="61"></errormessage> <errormessage key="71" value="71"></errormessage> </qc> </messages>
[System.SerializableAttribute()] public class Messages { private IMPORT[] IMPORTField; private QC[] QCField; [System.Xml.Serialization.XmlElementAttribute("IMPORT")] public IMPORT[] IMPORTElement { get { return this.IMPORTField; } set { this.IMPORTField = value; } } [System.Xml.Serialization.XmlElementAttribute("QC")] public QC[] QCElement { get { return this.QCField; } set { this.QCField = value; } } } [System.SerializableAttribute()] public class IMPORT { private ErrorMessage[] pageElementField; [System.Xml.Serialization.XmlElementAttribute("ErrorMessage", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] public ErrorMessage[] PageElement { get { return this.pageElementField; } set { this.pageElementField = value; } } } [System.SerializableAttribute()] public class QC { private ErrorMessage[] QCpageElementField; [System.Xml.Serialization.XmlElementAttribute("ErrorMessage", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] public ErrorMessage[] QCPageElement { get { return this.QCpageElementField; } set { this.QCpageElementField = value; } } } [System.SerializableAttribute()] public class ErrorMessage { [System.Xml.Serialization.XmlAttributeAttribute()] public string key; [System.Xml.Serialization.XmlAttributeAttribute()] public string Value; }
QC
System.Serializable]
[System.SerializableAttribute]
Import
ISerializable
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)