---
title: "Aspose::Email::Clients::Google::GmailMessageInfo::get_ThreadId method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.google/gmailmessageinfo/get_threadid/"
product: "Aspose.Email for C++"
description: "The ID of the thread the message belongs to."
---


## get_ThreadId {#get_threadid}

The ID of the thread the message belongs to.

**Returns:** System::String Aspose::Email::Clients::Google::

```cpp
get_ThreadId()
```

