Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ WriteStartElement()

void System.Xml.XmlElement.WriteStartElement ( XmlWriter w)
inlineprivate

Definition at line 482 of file XmlElement.cs.

483 {
484 w.WriteStartElement(Prefix, LocalName, NamespaceURI);
485 if (HasAttributes)
486 {
487 XmlAttributeCollection attributes = Attributes;
488 for (int i = 0; i < attributes.Count; i++)
489 {
490 XmlAttribute xmlAttribute = attributes[i];
491 xmlAttribute.WriteTo(w);
492 }
493 }
494 }
override string NamespaceURI
Definition XmlElement.cs:31
override string LocalName
Definition XmlElement.cs:29
override XmlAttributeCollection Attributes
Definition XmlElement.cs:93
override string Prefix
Definition XmlElement.cs:34
virtual bool HasAttributes

References System.Xml.XmlElement.Attributes, System.Xml.XmlAttributeCollection.Count, System.Xml.Dictionary, System.Xml.XmlElement.HasAttributes, System.Xml.XmlElement.LocalName, System.Xml.XmlElement.NamespaceURI, and System.Xml.XmlElement.Prefix.

Referenced by System.Xml.XmlElement.WriteTo().