## Document.CreateAttribute method

لإنشاء Attr بالاسم المحدد .

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

| معامل | يكتب | وصف |
| --- | --- | --- |
| localName | String | اسم السمة. |

### قيمة الإرجاع

ملف[`Attr`](../../attr/) .

### أنظر أيضا

* class [Attr](../../attr/)
* class [Document](../)
* مساحة الاسم [Aspose.Html.Dom](../../document/)
* المجسم [Aspose.HTML](../../../)


