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


## DeleteCalendar {#deletecalendar}

Deletes a calendar.

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

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

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

