System::Xml::XmlTextWriter::WriteProcessingInstruction method

XmlTextWriter::WriteProcessingInstruction method

Writes out a processing instruction with a space between the name and text as follows: .

void System::Xml::XmlTextWriter::WriteProcessingInstruction(String name, String text) override
ParameterTypeDescription
nameStringName of the processing instruction.
textStringText to include in the processing instruction.

Remarks

This method is being used to create an XML declaration after XmlTextWriter::WriteStartDocument has already been called.

See Also