XDeclaration Constructor (XDeclaration)
[ 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 XDeclaration class from another XDeclaration object.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
Parameters
- other
- Type: System.Xml.Linq.XDeclaration
The XDeclaration used to initialize this XDeclaration object.
| Exception | Condition |
|---|---|
| ArgumentNullException | other is Nothing. |
Show: