XAttribute.SetValue Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Sets the value of this attribute.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
Parameters
- value
- Type: System.Object
The value to assign to this attribute.
| Exception | Condition |
|---|---|
| ArgumentNullException | The value parameter is Nothing. |
| ArgumentException | The value is an XObject. |
Show: