System::Xml::XmlWriter::WriteProcessingInstruction method

XmlWriter::WriteProcessingInstruction method

When overridden in a derived class, writes out a processing instruction with a space between the name and text as follows: .

virtual void System::Xml::XmlWriter::WriteProcessingInstruction(String name, String text)=0
ParameterTypeDescription
nameStringThe name of the processing instruction.
textStringThe text to include in the processing instruction.

Remarks

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

See Also