Class GraphQueryBuilder

GraphQueryBuilder class

Represents the builder of search expression based on search filters that used by MS Graph protocol.

public class GraphQueryBuilder : MailQueryBuilder

Constructors

NameDescription
GraphQueryBuilder()Initializes a new instance of the GraphQueryBuilder class.

Properties

NameDescription
Bcc { get; }Gets the field that allows to find messages that contain the specified string in the envelope structure’s BCC field.
Body { get; }Gets the field that allows to find messages that contain the specified string in the body of the message.
Cc { get; }Gets the field that allows to find messages that contain the specified string in the envelope structure’s CC field.
DefaultEncoding { get; }Gets default encoding (charset) for query builder
From { get; }Gets the field that allows to find messages that contain the specified string in the envelope structure’s FROM field.
InternalDate { get; }Gets the field that allows to find messages by internal date.
IsRead { get; }Gets the field that allows to find unread items.
SentDate { get; }Gets the field that allows to find messages by sent date.
Subject { get; }Gets the field that allows to find messages that contain the specified string in the envelope structure’s SUBJECT field.
Text { get; }Gets the field that allows to find the messages that contain the specified string in the headers (subject, from, to, cc) and body of the message.
To { get; }Gets the field that allows to find messages that contain the specified string in the envelope structure’s TO field.

Methods

NameDescription
GetQuery()Gets the query.
Or(MailQuery, MailQuery)Search messages that match either search key. Provides disjunction between two expressions (OR).

See Also