System::Xml::XmlTextWriter::WriteStartElement 方法
XmlTextWriter::WriteStartElement method
写入指定的起始标签,并将其与给定的命名空间和前缀关联。
void System::Xml::XmlTextWriter::WriteStartElement(const String &prefix, const String &localName, const String &ns) override
| 参数 | 类型 | 描述 |
|---|---|---|
| 前缀 | const String& | 元素的命名空间前缀。 |
| localName | const String& | 元素的本地名称。 |
| ns | const String& | 要与元素关联的命名空间 URI。如果该命名空间已经在作用域中并且有关联的前缀,则写入器会自动写出该前缀。 |
另见
- Class String
- Class XmlTextWriter
- Namespace System::Xml
- Library Aspose.Font for C++