---
title: "Aspose::Email::Clients::Google::IGmailClient::ClearCalendar method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.google/igmailclient/clearcalendar/"
product: "Aspose.Email for C++"
description: "Clears a calendar."
---


## ClearCalendar {#clearcalendar}

Clears a calendar.

**Returns:** virtual void Aspose::Email::Clients::Google::

```cpp
ClearCalendar(System::String calendarId)
```

| Parameter | Description |
| --- | --- |
| calendarId | Calendar identifier. |

