Redigera

Dela via


XmlProcessingInstruction(String, String, XmlDocument) Constructor

Definition

Initializes a new instance of the XmlProcessingInstruction class.

protected public:
 XmlProcessingInstruction(System::String ^ target, System::String ^ data, System::Xml::XmlDocument ^ doc);
protected internal XmlProcessingInstruction (string target, string data, System.Xml.XmlDocument doc);
protected internal XmlProcessingInstruction (string target, string? data, System.Xml.XmlDocument doc);
new System.Xml.XmlProcessingInstruction : string * string * System.Xml.XmlDocument -> System.Xml.XmlProcessingInstruction
Protected Friend Sub New (target As String, data As String, doc As XmlDocument)

Parameters

target
String

The target of the processing instruction; see the Target property.

data
String

The content of the instruction; see the Data property.

doc
XmlDocument

The parent XML document.

Remarks

Do not instantiate an XmlProcessingInstruction directly; instead, use methods such as CreateProcessingInstruction.

Applies to