## XmlElement::RemoveAttribute(String, String) method


移除具有指定本地名称和命名空间 URI 的属性。（如果被移除的属性有默认值，则会立即替换）。

```cpp
virtual void System::Xml::XmlElement::RemoveAttribute(String localName, String namespaceURI)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| localName | String | 要移除的属性的本地名称。 |
| namespaceURI | String | 要移除的属性的命名空间 URI。 |

## 另见

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


按名称移除属性。

```cpp
virtual void System::Xml::XmlElement::RemoveAttribute(String name)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 名称 | String | 要移除的属性的名称。这是一个限定名称。它会与匹配节点的 **get_Name** 值进行匹配。 |

## 另见

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