Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

EwsSearchParameter Class

Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9147)

Represents a single EWS search criterion.

Syntax
public class EwsSearchParameter
Inheritance
Object
EwsSearchParameter
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Methods

Name Description
And(EwsSearchParameter[])

Multiple criteria combined using the AND operator - only messages that match all the criteria are matched.

Arrived(DateTime)

Messages that arrived on the specified date (disregarding time).

Arrived(Nullable<DateTime>, Nullable<DateTime>)

Messages that arrived in the specified date and time interval.

Body(String)

Messages that contain the specified string in its Body.

Category(String)

Messages that have the specified Category.

CC(String)

Messages that contain the specified string in its CC field.

From(String)

Messages that contain the specified string in its From field.

FullText(String)

Messages that contain the specified string in its Body, Subject, From, To, Category, CC, Bcc or Sender.

HasFlag(EwsFlagStatus)

Messages that have a flag in the specified state.

HasFlag(EwsFlagStatus, EwsDateTimeRange)

Messages which have a specific flag and fall within the specified time intervals.

HasFlag(EwsFlagStatus, EwsDateTimeRange, EwsDateTimeRange)

Messages which have a specific flag and fall within the specified time intervals.

Header(String)

Messages with a header regardless its value.

Header(String, String)

Messages with a header set to a particular value.

Importance(EwsItemImportance)

Messages that have the specified importance.

IsDraft(Boolean)

Messages that are (not) draft.

IsRead(Boolean)

Messages that are read or unread depending on the parameter specified.

MessageId(String)

Messages with the specified Internet Message ID.

Not(EwsSearchParameter)

Messages that don't match the specified criteria.

NotCategory(String)

Messages without the specified category set.

NotCc(String)

Messages that do not contain the specified string in its CC field.

NotFrom(String)

Messages that do not contain the specified string in its From field.

NotTo(String)

Messages that do not contain the specified string in its To field.

Or(EwsSearchParameter[])

Multiple criteria combined using the OR operator - messages that match any of the criteria are matched.

Sender(String)

Messages that contain the specified string in its Sender field.

Sensitivity(EwsItemSensitivity)

Messages that have the specified sensitivity.

Sent(DateTime)

Messages that were sent on the specified date (disregarding time).

Sent(Nullable<DateTime>, Nullable<DateTime>)

Messages that were sent in the specified date and time interval.

Size(Nullable<Int64>, Nullable<Int64>)

Messages with a size within the specified interval.

Subject(String)

Messages that contain the specified string in its Subject field.

To(String)

Messages that contain the specified string in its To field.

In This Article
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies