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

GraphMessageSearchParameter.Arrived Method

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

Arrived(DateTime)

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

Declaration
public static GraphMessageSearchParameter Arrived(DateTime on)
Parameters
Type Name Description
DateTime on

Date. Time and time zone are ignored.

Returns
Type Description
GraphMessageSearchParameter

A search parameter.

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

Messages that arrived in the specified date and time interval.

Declaration
public static GraphMessageSearchParameter Arrived(DateTime? since, DateTime? before)
Parameters
Type Name Description
Nullable<DateTime> since

The lower bound of the date and time interval (included in search).

Nullable<DateTime> before

The upper bound of the date and time interval (excluded from search).

Returns
Type Description
GraphMessageSearchParameter

A search parameter.

Examples

Messages in the last hour:

Arrived(DateTime.Now.AddHours(-1), null)

Yesterday's messages:

Arrived(DateTime.Today.AddDays(-1), DateTime.Today)

In This Article
  • Arrived(DateTime)
  • Arrived(Nullable<DateTime>, Nullable<DateTime>)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies