---
title: "Aspose::Email::Clients::Google::IGmailClient::ImportAppointment method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.google/igmailclient/importappointment/"
product: "Aspose.Email for C++"
description: "Imports appointment to calendar"
---


## ImportAppointment {#importappointment}

Imports appointment to calendar

**Returns:** Returns the imported appointment.

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

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

