public override void WriteToXml(XmlWriter writer) { writer.WriteStartElement(TypeIdString); writer.WriteElementString(XmlName_Name, Name); writer.WriteElementString(XmlName_Prefix, Prefix); writer.WriteElementString(XmlName_SkipThe, SkipThe.ToString()); writer.WriteElementString(XmlName_GroupNumbers, GroupNumbers.ToString()); writer.WriteEndElement(); // type ID string }
public override void WriteToXml(XmlWriter writer) { writer.WriteStartElement(TypeIdString); writer.WriteElementString(XmlName_Name, Name); writer.WriteElementString(XmlName_Prefix, Prefix); writer.WriteElementString(XmlName_SkipThe, SkipThe.ToString().ToLowerInvariant()); writer.WriteElementString(XmlName_GroupNumbers, GroupNumbers.ToString().ToLowerInvariant()); writer.WriteElementString(XmlName_GroupNonEnglishCharacters, GroupNonEnglishCharacters.ToString().ToLowerInvariant()); writer.WriteElementString(XmlName_GroupNonEnglishCharactersText, GroupNonEnglishCharactersText); writer.WriteEndElement(); // type ID string }