## IWindow.Confirm method

Displays a modal OK/Cancel prompt with the given message, waits for the user to dismiss it, and returns true if the user clicks OK and false if the user clicks Cancel.

```csharp
public bool Confirm(string message)
```

| Parameter | Type | Description |
| --- | --- | --- |
| message | String | The message. |

### Return Value

Returns true if the user clicks OK and false if the user clicks Cancel

### See Also

* interface [IWindow](../)
* namespace [Aspose.Html.Window](../../../aspose.html.window/)
* assembly [Aspose.HTML](../../../)
