CreateProcessingInstruction()

XmlDocument::CreateProcessingInstruction(const String&, const String&) method

Creates an XmlProcessingInstruction with the specified name and data.

virtual SharedPtr<XmlProcessingInstruction> System::Xml::XmlDocument::CreateProcessingInstruction(const String &target, const String &data)

Arguments

ParameterTypeDescription
targetconst String&The name of the processing instruction.
dataconst String&The data for the processing instruction.

Return Value

The new XmlProcessingInstruction.

See Also