## Element.SetAttribute method

Aggiunge un nuovo attributo. Se un attributo con quel nome è già presente nell'elemento, il suo valore viene modificato in quello del valore parametro

```csharp
public void SetAttribute(string name, string value)
```

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| name | String | Il nome dell'attributo. |
| value | String | Il valore. |

### Guarda anche

* class [Element](../)
* spazio dei nomi [Aspose.Html.Dom](../../element/)
* assemblea [Aspose.HTML](../../../)


