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

◆ ToString()

override string System.Xml.Linq.XAttribute.ToString ( )
inline

Definition at line 136 of file XAttribute.cs.

137 {
139 XmlWriterSettings xmlWriterSettings = new XmlWriterSettings();
140 xmlWriterSettings.ConformanceLevel = ConformanceLevel.Fragment;
141 using (XmlWriter xmlWriter = XmlWriter.Create(stringWriter, xmlWriterSettings))
142 {
144 }
145 return stringWriter.ToString().Trim();
146 }
static CultureInfo InvariantCulture
string GetPrefixOfNamespace(XNamespace ns)
string NamespaceName
Definition XName.cs:18
XNamespace Namespace
Definition XName.cs:16

References System.Xml.XmlWriter.Create(), System.Xml.Dictionary, System.Xml.Linq.XAttribute.GetPrefixOfNamespace(), System.Globalization.CultureInfo.InvariantCulture, System.Xml.Linq.XName.LocalName, System.Xml.Linq.XAttribute.name, System.Xml.Linq.XName.Namespace, System.Xml.Linq.XName.NamespaceName, and System.Xml.Linq.XAttribute.value.