StringComparisonField.Contains
Contents
[
Hide
]Contains(string)
Indicates that field in message must contain the specified value.
public MailQuery Contains(string value)
Parameter | Type | Description |
---|---|---|
value | String | The value. |
Return Value
MailQuery
that represents search query (one searching criterion).
See Also
- class MailQuery
- class StringComparisonField
- namespace Aspose.Email.Tools.Search
- assembly Aspose.Email
Contains(string, bool)
Indicates that field in message must contain the specified value.
public MailQuery Contains(string value, bool ignoreCase)
Parameter | Type | Description |
---|---|---|
value | String | The value. |
ignoreCase | Boolean | true to ignore case during the comparison; otherwise, false. |
Return Value
MailQuery
that represents search query (one searching criterion).
Exceptions
exception | condition |
---|---|
AsposeArgumentNullException | value;Field value should not be null or empty |
See Also
- class MailQuery
- class StringComparisonField
- namespace Aspose.Email.Tools.Search
- assembly Aspose.Email