## Document.CreateAttribute method

Erstellt ein Attr des angegebenen Namens.

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

| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| localName | String | Der Attributname. |

### Rückgabewert

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

### Siehe auch

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


