---
title: "Aspose::Email::Clients::Exchange::ContactQueryBuilder::get_DisplayName method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.exchange/contactquerybuilder/get_displayname/"
product: "Aspose.Email for C++"
description: "Gets the field that allows to find Contact that contain the specified string in the DisplayName field."
---


## get_DisplayName {#get_displayname}

Gets the field that allows to find Contact that contain the specified string in the DisplayName field.

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

```cpp
get_DisplayName()
```

