XComment Constructor (String^)
.NET Framework (current version)
Initializes a new instance of the XComment class with the specified string content.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | The value parameter is null. |
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: