---
title: "Aspose::Email::Clients::Exchange::RulePredicates::get_ContainsSubjectStrings method"
url: "https://reference.aspose.com/email/cpp/aspose.email.clients.exchange/rulepredicates/get_containssubjectstrings/"
product: "Aspose.Email for C++"
description: "Gets the strings that appear in the subject of incoming messages in order for the condition or exception to apply."
---


## get_ContainsSubjectStrings {#get_containssubjectstrings}

Gets the strings that appear in the subject of incoming messages in order for the condition or exception to apply.

**Returns:** System::SharedPtr <System::Collections::Specialized::StringCollection> Aspose::Email::Clients::Exchange::

```cpp
get_ContainsSubjectStrings()
```

