System::Xml::XmlTextWriter::WriteProcessingInstruction 方法
XmlTextWriter::WriteProcessingInstruction method
写出一条处理指令,在名称和文本之间留有空格,如下所示: 。
void System::Xml::XmlTextWriter::WriteProcessingInstruction(String name, String text) override
| 参数 | 类型 | 描述 |
|---|---|---|
| 名称 | String | 处理指令的名称。 |
| text | String | Text 用于包含在处理指令中。 |
备注
此方法用于在已调用 XmlTextWriter::WriteStartDocument 之后创建 XML 声明。
另见
- Class String
- Class XmlTextWriter
- Namespace System::Xml
- Library Aspose.Font for C++