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

◆ SetAttribute() [2/2]

virtual void System.Xml.XmlElement.SetAttribute ( string name,
string? value )
inlinevirtual

Definition at line 292 of file XmlElement.cs.

293 {
294 XmlAttribute attributeNode = GetAttributeNode(name);
295 if (attributeNode == null)
296 {
300 }
301 else
302 {
304 }
305 }
XmlAttribute InternalAppendAttribute(XmlAttribute node)
XmlAttribute CreateAttribute(string name)
override XmlDocument OwnerDocument
Definition XmlElement.cs:49
override XmlAttributeCollection Attributes
Definition XmlElement.cs:93
virtual ? XmlAttribute GetAttributeNode(string name)

References System.Xml.XmlElement.Attributes, System.Xml.XmlDocument.CreateAttribute(), System.Xml.Dictionary, System.Xml.XmlElement.GetAttributeNode(), System.Xml.XmlAttributeCollection.InternalAppendAttribute(), System.Xml.XmlElement.OwnerDocument, and System.value.

Referenced by System.Data.XmlTreeGen.AddColumnProperties(), System.Data.XmlTreeGen.AddXdoProperty(), System.Data.XmlTreeGen.FillDataSetElement(), System.Data.XmlTreeGen.GetSchema(), System.Data.XmlTreeGen.HandleColumn(), System.Data.XmlTreeGen.HandleColumnType(), System.Data.XmlTreeGen.HandleRelation(), System.Data.XmlTreeGen.HandleTable(), System.Data.XmlTreeGen.SchemaTree(), System.Data.XmlTreeGen.SetMSDataAttribute(), and System.Data.SimpleType.ToNode().