GraphQueryBuilder

GraphQueryBuilder class

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

The GraphQueryBuilder type exposes the following members:

Constructors

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

Properties

NameDescription
toGets the field that allows to find messages that contain the specified string in the envelope structure’s TO field.
textGets 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.
bccGets the field that allows to find messages that contain the specified string in the envelope structure’s BCC field.
bodyGets the field that allows to find messages that contain the specified string in the body of the message.
ccGets the field that allows to find messages that contain the specified string in the envelope structure’s CC field.
from_addressGets the field that allows to find messages that contain the specified string in the envelope structure’s FROM field.
subjectGets the field that allows to find messages that contain the specified string in the envelope structure’s SUBJECT field.
default_encodingGets default encoding (charset) for query builder
internal_dateGets the field that allows to find messages by internal date.
sent_dateGets the field that allows to find messages by sent date.
is_readGets the field that allows to find unread items.

Methods

NameDescription
either(query1, query2)
get_query()

See Also