MailQuery class

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

public class MailQuery : IEquatable<MailQuery>, IXmlSerializable


Name Description
MailQuery(string) Initializes a new instance of the MailQuery class.
MailQuery(string, string) Initializes a new instance of the MailQuery class.


Name Description
OrderByString { get; } The sort query string.


Name Description
Equals(MailQuery) Indicates whether the current object is equal to another object of the same type.
override Equals(object) Determines whether the specified Object, is equal to this instance.
override GetHashCode() Returns a hash code for this instance.
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 XmlSchemaProviderAttribute to the class.
virtual ReadXml(XmlReader) Generates an object from its XML representation.
override ToString() Returns a String that represents this instance.
virtual WriteXml(XmlWriter) Converts an object into its XML representation.

See Also