## IStorage.SetItem method

Sets the value of the pair identified by key to value, creating a new key/value pair if none existed for key previously.

```csharp
public void SetItem(string key, string value)
```

| Parameter | Type | Description |
| --- | --- | --- |
| key | String | Item key string. |
| value | String | Item value string. |

### See Also

* interface [IStorage](../)
* namespace [Aspose.Html.Dom](../../../aspose.html.dom/)
* assembly [Aspose.HTML](../../../)
