XElement Narrowing Conversion (XElement to String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
Parameters
- element
- Type: System.Xml.Linq.XElement
The XElement to cast to String.
If the XElement has children, the concatenated string value of all of the element's text and descendant's text is returned.
Show: