The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
XAttribute::ToString Method ()
.NET Framework (current version)
Converts the current XAttribute object to a string representation.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
This method returns a string in the form of AttributeName="content".
Warning |
|---|
When this method is called and XAttribute contains control character, an exception is thrown with a message like: hexadecimal value 0x0B, is an invalid character. |
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show:
