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

◆ CreateElement() [3/3]

virtual XmlElement System.Xml.XmlDocument.CreateElement ( string? prefix,
string localName,
string? namespaceURI )
inlinevirtual

Reimplemented in System.Xml.XmlDataDocument.

Definition at line 1147 of file XmlDocument.cs.

1148 {
1149 XmlElement xmlElement = new XmlElement(AddXmlName(prefix, localName, namespaceURI, null), empty: true, this);
1150 if (!IsLoading)
1151 {
1153 }
1154 return xmlElement;
1155 }
XmlName AddXmlName(string prefix, string localName, string namespaceURI, IXmlSchemaInfo schemaInfo)
void AddDefaultAttributes(XmlElement elem)

References System.Xml.XmlDocument.AddDefaultAttributes(), System.Xml.XmlDocument.AddXmlName(), System.Xml.Dictionary, System.Xml.XmlDocument.IsLoading, and System.prefix.