XmlDocument.CreateProcessingInstruction(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a processing instruction node that contains the supplied target and data.
public:
virtual XmlProcessingInstruction ^ CreateProcessingInstruction(Platform::String ^ target, Platform::String ^ data) = CreateProcessingInstruction;
XmlProcessingInstruction CreateProcessingInstruction(winrt::hstring const& target, winrt::hstring const& data);
public XmlProcessingInstruction CreateProcessingInstruction(string target, string data);
function createProcessingInstruction(target, data)
Public Function CreateProcessingInstruction (target As String, data As String) As XmlProcessingInstruction
Parameters
- target
-
String
Platform::String
winrt::hstring
The target part of the processing instruction. It supplies the NodeName property of the new object.
- data
-
String
Platform::String
winrt::hstring
The remainder of the processing instruction preceding the closing** ?>** characters. It supplies the NodeValue property for the new object.
Returns
The newly created object.