Class ReminderTrigger

ReminderTrigger class

Defines when a reminder triggers: at an absolute date and time, or at a time relative to the start or end of the event.

public class ReminderTrigger

Constructors

NameDescription
ReminderTrigger(DateTime)Initializes a new instance of the ReminderTrigger class that triggers at an absolute date and time.
ReminderTrigger(ReminderDuration, ReminderRelated)Initializes a new instance of the ReminderTrigger class that triggers at a time relative to the event.

Properties

NameDescription
DateTime { get; set; }Gets or sets the absolute date and time of the trigger. Setting it clears Duration; DateTime.MinValue means it is not set.
Duration { get; set; }Gets or sets the time of the trigger relative to the start or end of the event. Setting it clears DateTime.
Related { get; set; }Gets or sets whether Duration is measured from the start or from the end of the event. It is not used with an absolute DateTime.

See Also