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