## Location.Replace method

Removes the current page from the session history and navigates to the given page.

```csharp
public void Replace(string url)
```

| Parameter | Type | Description |
| --- | --- | --- |
| url | String | The string URL to navigate. |

### See Also

* class [Location](../)
* namespace [Aspose.Html.Window](../../../aspose.html.window/)
* assembly [Aspose.HTML](../../../)
