## Element.GetAttributeNS method

通过本地名称和命名空间 URI 检索属性值。

```csharp
public string GetAttributeNS(string namespaceURI, string localName)
```

| 范围 | 类型 | 描述 |
| --- | --- | --- |
| namespaceURI | String | 命名空间 URI。 |
| localName | String | 本地名称。 |

### 返回值

返回属性

### 也可以看看

* class [Element](../)
* 命名空间 [Aspose.Html.Dom](../../element/)
* 部件 [Aspose.HTML](../../../)


