
## get_MessageId {#get_messageid}

Gets the field that allows to find messages that contain the specified string in the envelope structure's MessageId field.

**Returns:** System::SharedPtr < Tools::Search::StringComparisonField > Aspose::Email::Clients::Exchange::

```cpp
get_MessageId()
```

