---
title: "Aspose::Email::Clients::Google::IGmailClient::UpdateAppointment method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.google/igmailclient/updateappointment/"
product: "Aspose.Email for C++"
description: "Updates an appointment."
---


## UpdateAppointment {#updateappointment}

Updates an appointment.

**Returns:** Returns updated appointment.

```cpp
UpdateAppointment(System::String calendarId, System::SharedPtr < Aspose::Email::Calendar::Appointment > appointment)
```

| Parameter | Description |
| --- | --- |
| calendarId | Calendar identifier. |
| appointment | An instance of appointment object to update. |

