XProcessingInstruction Constructor (String, String)
Collapse the table of content
Expand the table of content

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.

Namespace:  System.Xml.Linq
Assembly:  System.Xml.Linq (in System.Xml.Linq.dll)

'Declaration
Public Sub New ( _
	target As String, _
	data As String _
)

Parameters

target
Type: System.String
A String containing the target application for this XProcessingInstruction.
data
Type: System.String
The string data for this XProcessingInstruction.

ExceptionCondition
ArgumentNullException

The target or data parameter is Nothing.

ArgumentException

The target does not follow the constraints of an XML name.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft