AppointmentRecurrence AppointmentRecurrence AppointmentRecurrence AppointmentRecurrence AppointmentRecurrence Class

Definition

Represents when and how often an appointment occurs.

public : sealed class AppointmentRecurrence
struct winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence
public sealed class AppointmentRecurrence
Public NotInheritable Class AppointmentRecurrence
var appointmentRecurrence = new appointmentRecurrence();
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
appointmentsSystem

Remarks

For info about how to manage appointments, see Managing appointments and Quickstart: Managing appointments .

Constructors

AppointmentRecurrence() AppointmentRecurrence() AppointmentRecurrence() AppointmentRecurrence() AppointmentRecurrence()

Initializes a new instance of the AppointmentRecurrence class.

Properties

CalendarIdentifier CalendarIdentifier CalendarIdentifier CalendarIdentifier CalendarIdentifier

Gets a string that identifies the type of the calendar as represented by CalendarIdentifiers.

Day Day Day Day Day

Gets or sets the day on which an appointment occurs. Day is of type UInt32, has a default value of 1, and can be a value from 1 to 31.

DaysOfWeek DaysOfWeek DaysOfWeek DaysOfWeek DaysOfWeek

Gets or sets a combination of AppointmentDaysOfWeek -typed values for all the days of the week on which an appointment occurs.

Interval Interval Interval Interval Interval

Gets or sets the interval between occurrences of an appointment. Interval is of type UInt32 and has a default value of 1. For daily, the interval is the number of days in between, for weekly, the number of weeks, and so on.

Month Month Month Month Month

Gets or sets the month on which an appointment occurs. Month is of type UInt32, has a default value of 1, and can be a value from 1 to 12.

Occurrences Occurrences Occurrences Occurrences Occurrences

Gets or sets the number of times an appointment recurs. Occurrences is of type IReference(UInt32) and is NULL by default. Occurrences is mutually exclusive with Until.

RecurrenceType RecurrenceType RecurrenceType RecurrenceType RecurrenceType

Gets a value indicating what type of recurrence applies to the associated appointment.

TimeZone TimeZone TimeZone TimeZone TimeZone

Gets or sets the time zone for the recurrence.

Unit Unit Unit Unit Unit

Gets or sets a AppointmentRecurrenceUnit -typed value that indicates the frequency for which the appointment occurs.

Until Until Until Until Until

Gets or sets the date and time until which an appointment is valid. Until is of type IReference(DateTime) and is NULL by default. Until is mutually exclusive with Occurrences.

WeekOfMonth WeekOfMonth WeekOfMonth WeekOfMonth WeekOfMonth

Gets or sets a AppointmentWeekOfMonth -typed value that indicates the week of the month for which the appointment occurs. The first week is the default.

See also