
## MailQuery class

Represents the search criteria, that are used to match several message properties in the mailbox.

## Constructors

| Name | Description |
| --- | --- |
| [MailQuery (8 overloads)](./mailquery/) | Initializes a new instance of the MailQuery class. |

## Methods

| Name | Description |
| --- | --- |
| [Equals (2 overloads)](./equals/) | Indicates whether the current object is equal to another object of the same type. |
| [get_Options](./get_options/) | The query options. |
| [get_OrderByString](./get_orderbystring/) | The sort query string. |
| [get_QueryString](./get_querystring/) | The query string. |
| [GetHashCode](./gethashcode/) | Returns a hash code for this instance. |
| [GetSchema](./getschema/) | This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the T:System::Xml::Serialization::XmlSchemaProviderAttribute to the class. |
| [NormalizeExpression](./normalizeexpression/) | Normalizes the expression. |
| [ReadXml](./readxml/) | Generates an object from its XML representation. |
| [set_Options](./set_options/) | The query options. |
| [set_QueryString](./set_querystring/) | The query string. |
| [ToString](./tostring/) | Returns a System::String that represents this instance. |
| [ValidateExpression](./validateexpression/) | Validates the expression. |
| [WriteOrderByXml](./writeorderbyxml/) | Converts an object into its XML representation. |
| [WriteXml](./writexml/) | Converts an object into its XML representation. |

