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

◆ Value

string System.Xml.Linq.XAttribute.Value
getset

Definition at line 70 of file XAttribute.cs.

71 {
72 get
73 {
74 return value;
75 }
76 set
77 {
78 if (value == null)
79 {
80 throw new ArgumentNullException("value");
81 }
83 bool flag = NotifyChanging(this, XObjectChangeEventArgs.Value);
85 if (flag)
86 {
87 NotifyChanged(this, XObjectChangeEventArgs.Value);
88 }
89 }
90 }
static void ValidateAttribute(XName name, string value)
bool NotifyChanging(object sender, XObjectChangeEventArgs e)
Definition XObject.cs:428
bool NotifyChanged(object sender, XObjectChangeEventArgs e)
Definition XObject.cs:399

Referenced by System.Xml.Linq.XNodeReader.GetAttribute(), System.Xml.Linq.XNodeReader.GetAttribute(), System.Xml.Linq.XNodeReader.GetAttribute(), MS.Internal.Xml.Linq.ComponentModel.XAttributeValuePropertyDescriptor.GetValue(), System.Xml.Linq.XAttribute.SetValue(), System.Xml.Linq.ElementWriter.WriteStartElement(), and System.Xml.Linq.ElementWriter.WriteStartElementAsync().