## IUrlSearchParams.Set method

Sets value of the first found name-value pair to the specified value and removes the others. If no name-value pairs with the specified name are found, new one will be appended to the list.

```csharp
public void Set(string name, string value)
```

| Parameter | Type | Description |
| --- | --- | --- |
| name | String | Key which will be used to find name-value pairs. |
| value | String | Value which will be set. |

### See Also

* interface [IUrlSearchParams](../)
* namespace [Aspose.Html](../../../aspose.html/)
* assembly [Aspose.HTML](../../../)
