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


## UpdateCalendar (1 of 2) {#updatecalendar_1}

Updates a calendar

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

```cpp
UpdateCalendar(System::SharedPtr < Calendar > calendar)
```

| Parameter | Description |
| --- | --- |
| calendar | An instance of calendar object to update. |

---

## UpdateCalendar (2 of 2) {#updatecalendar_2}

Updates a calendar

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

```cpp
UpdateCalendar(System::SharedPtr < Calendar > calendar, bool useColorRgbFormat)
```

| Parameter | Description |
| --- | --- |
| calendar | An instance of calendar object to update. |
| useColorRgbFormat | Indicates whether color rgb format is used. |

