XProcessingInstruction Constructor (String, String)
[ 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 XProcessingInstruction class.
Assembly: System.Xml.Linq (in System.Xml.Linq.dll)
Parameters
- target
- Type: System.String
A String containing the target application for this XProcessingInstruction.
- data
- Type: System.String
The string data for this XProcessingInstruction.
| Exception | Condition |
|---|---|
| ArgumentNullException | The target or data parameter is Nothing. |
| ArgumentException | The target does not follow the constraints of an XML name. |
Show: