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