GeometryGym.Ifc.IfcPostalAddress.SetXML C# (CSharp) Méthode

SetXML() private méthode

private SetXML ( XmlElement xml, BaseClassIfc host, HashSet processed ) : void
xml System.Xml.XmlElement
host BaseClassIfc
processed HashSet
Résultat void
        internal override void SetXML(XmlElement xml, BaseClassIfc host, HashSet<int> processed)
        {
            base.SetXML(xml, host, processed);
            setAttribute(xml, "InternalLocation", InternalLocation);
            if (mAddressLines.Count > 0)
            {
                XmlElement element = xml.OwnerDocument.CreateElement("AddressLines");
                xml.AppendChild(element);
                foreach (string line in AddressLines)
                {
                    XmlElement l = xml.OwnerDocument.CreateElement("IfcLabel-wrapper");
                    l.InnerText = line;
                    element.AppendChild(l);
                }
            }
            setAttribute(xml, "PostalBox", PostalBox);
            setAttribute(xml, "Town", Town);
            setAttribute(xml, "Region", Region);
            setAttribute(xml, "PostalCode", PostalCode);
            setAttribute(xml, "Country", Country);
        }
IfcPostalAddress