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

◆ PreviousAttribute

XAttribute? System.Xml.Linq.XAttribute.PreviousAttribute
get

Definition at line 49 of file XAttribute.cs.

50 {
51 get
52 {
53 if (parent == null)
54 {
55 return null;
56 }
57 XAttribute lastAttr = ((XElement)parent).lastAttr;
58 while (lastAttr.next != this)
59 {
60 lastAttr = lastAttr.next;
61 }
62 if (lastAttr == ((XElement)parent).lastAttr)
63 {
64 return null;
65 }
66 return lastAttr;
67 }
68 }
XAttribute(XName name, object value)
Definition XAttribute.cs:92
XContainer parent
Definition XObject.cs:7