## Document.CreateAttribute method

Creëert een Attr van de opgegeven naam.

```csharp
public Attr CreateAttribute(string localName)
```

| Parameter | Type | Beschrijving |
| --- | --- | --- |
| localName | String | De attribuutnaam. |

### Winstwaarde

De[`Attr`](../../attr/) .

### Zie ook

* class [Attr](../../attr/)
* class [Document](../)
* naamruimte [Aspose.Html.Dom](../../document/)
* montage [Aspose.HTML](../../../)


