XComment Constructor (XComment)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the XComment class from an existing comment node.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
Parameters
- other
- Type: System.Xml.Linq.XComment
The XComment node to copy from.
| Exception | Condition |
|---|---|
| ArgumentNullException | The other parameter is null. |
Show: