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

◆ Append()

XmlAttribute System.Xml.XmlAttributeCollection.Append ( XmlAttribute node)
inline

Definition at line 121 of file XmlAttributeCollection.cs.

122 {
123 XmlDocument ownerDocument = node.OwnerDocument;
124 if (ownerDocument == null || !ownerDocument.IsLoading)
125 {
127 {
129 }
130 if (node.OwnerElement != null)
131 {
132 Detach(node);
133 }
134 AddNode(node);
135 }
136 else
137 {
138 base.AddNodeForLoad(node, ownerDocument);
140 }
141 return node;
142 }
static string Xdom_NamedNode_Context
Definition SR.cs:1286
Definition SR.cs:7
override XmlNode AddNode(XmlNode node)
void InsertParentIntoElementIdAttrMap(XmlAttribute attr)
virtual ? XmlDocument OwnerDocument
Definition XmlNode.cs:109

References System.Xml.XmlAttributeCollection.AddNode(), System.Xml.ArgumentException, System.Xml.XmlAttributeCollection.Detach(), System.Xml.Dictionary, System.Xml.XmlAttributeCollection.InsertParentIntoElementIdAttrMap(), System.Xml.XmlDocument.OwnerDocument, System.Xml.XmlNode.OwnerDocument, System.Xml.XmlNamedNodeMap.parent, and System.SR.Xdom_NamedNode_Context.

Referenced by System.Xml.DocumentXmlWriter.CloseWithAppendAttribute(), System.Xml.XmlAttributeCollection.InsertBefore(), System.Xml.Schema.Parser.LoadElementNode(), System.Xml.XmlLoader.LoadNode(), System.Xml.XmlLoader.LoadNodeDirect(), and System.Xml.DocumentSchemaValidator.ValidateAttributes().