Value (XAttribute dynamic property)
Gets or sets the value of the XML attribute.
Syntax
attrib.Value
Property value/return value
A String containing the value of this attribute.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | When setting, the value is null . |
Remarks
This property is equivalent to the Value property of the System.Xml.Linq.XAttribute class, but this dynamic property also supports change notifications.
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET Desktop feedback