---
title: "Aspose::Email::Clients::Google::IGmailClient::GetContact method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.google/igmailclient/getcontact/"
product: "Aspose.Email for C++"
description: "Parameters contact Contact to refresh Returns Contact object, that represents a contact of gmail Exceptions WebException when operation fails"
---


## GetContact (1 of 2) {#getcontact_1}

Parameters contact Contact to refresh Returns Contact object, that represents a contact of gmail Exceptions WebException when operation fails

**Returns:** Contact object, that represents a contact of gmail

```cpp
GetContact(System::SharedPtr < PersonalInfo::Contact > contact)
```

| Parameter | Description |
| --- | --- |
| contact | Contact to refresh |

---

## GetContact (2 of 2) {#getcontact_2}

Fetches contact

**Returns:** Contact object, that represents a contact of gmail

```cpp
GetContact(System::String contactUri)
```

| Parameter | Description |
| --- | --- |
| contactUri | String, that represents contact's uri |

