GeometryGym.Ifc.IfcProfileDef.ParseXml C# (CSharp) Méthode

ParseXml() private méthode

private ParseXml ( XmlElement xml ) : void
xml XmlElement
Résultat void
        internal override void ParseXml(XmlElement xml)
        {
            base.ParseXml(xml);
            if (xml.HasAttribute("ProfileType"))
                Enum.TryParse<IfcProfileTypeEnum>(xml.Attributes["ProfileType"].Value, true, out mProfileType);
            if (xml.HasAttribute("ProfileName"))
                ProfileName = xml.Attributes["ProfileName"].Value;
        }