|
RDOReminder object represents an
Outlook reminder, e.g. a message (RDOMail) with the
Reminder property set to true.
Returned by:
RDOReminders.Item()
The example below snoozes all active
(visible) reminders for 2 minutes
set Session =
CreateObject("Redemption.RDOSession")
Session.MAPIOBJECT = Application.Session.MAPIOBJECT
set Store = Session.Stores.DefaultStore
set Reminders = Store.Reminders
for each Reminder in Reminders
if Reminder.IsVisible Then
Reminder.Snooze(2) 'snooze for 2 minutes
End If
next |
|
Derived from:
IDispatch
|
|
Properties |
|
Caption |
String, read-only. Returns
the display name of the reminder. Corresponds to the PR_SUBJECT Extended
MAPI property. |
|
IsVisible |
Returns a
Boolean that determines if the reminder is currently visible. All
active reminders are visible. If True, the reminder
is visible. Read-only. |
see the example above |
Item |
Returns an
RDOMail object corresponding to the given
reminder. |
|
NextReminderDate |
Returns a
Date that indicates the next time the specified reminder will occur.
Read-only. |
|
OriginalReminderDate |
Returns a
Date that specifies the original date and time that the specified
reminder is set to occur. Read-only. |
|
|
Methods |
|
Dismiss |
Dismisses the given reminder. |
|
Snooze(SnoozeTime) |
Delays the reminder by a
specified time. This is equivalent to the user clicking the
Snooze button.
SnoozeTime - variant.
Either a DateTime value that specifies the time when the reminder should
fire or an integer representing the number of minutes to snooze. |
|
|