-
I have a list of strings that contains keywords i'm interested on filtering, something like: The emails i want have the subject like "Email APP1". What i want is to filter all the emails that contains any of the words in
Do we have something like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
SearchQuery query = SearchQuery.SubjectContains(appsToInclude[0]);
for (int i = 1; i < appsToInclude.Count; i++)
query = query.Or (SearchQuery.SubjectContains (appsToInclude[i]));
query = SearchQuery.SubjectContains ("Email").And (query); |
Beta Was this translation helpful? Give feedback.
Instead of
var query = ...
in my original solution, useSearchQuery query = ...