## XmlWriter::WriteStartAttribute(const String\&) method


写入具有指定本地名称的属性起始标记。

```cpp
void System::Xml::XmlWriter::WriteStartAttribute(const String &localName)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| localName | const String\& | 属性的本地名称。 |

## 另见

* Class [String](../../../system/string/)
* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font for C++](../../../)
## XmlWriter::WriteStartAttribute(const String\&, const String\&) method


写入具有指定本地名称和命名空间 URI 的属性起始标记。

```cpp
void System::Xml::XmlWriter::WriteStartAttribute(const String &localName, const String &ns)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| localName | const String\& | 属性的本地名称。 |
| ns | const String\& | 属性的命名空间 URI。 |

## 另见

* Class [String](../../../system/string/)
* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font for C++](../../../)
## XmlWriter::WriteStartAttribute(const String\&, const String\&, const String\&) method


在派生类中重写时，写入具有指定前缀、本地名称和命名空间 URI 的属性起始标记。

```cpp
virtual void System::Xml::XmlWriter::WriteStartAttribute(const String &prefix, const String &localName, const String &ns)=0
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 前缀 | const String\& | 属性的命名空间前缀。 |
| localName | const String\& | 属性的本地名称。 |
| ns | const String\& | 属性的命名空间 URI。 |

## 另见

* Class [String](../../../system/string/)
* Class [XmlWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Font for C++](../../../)
