AppointmentRecurrence AppointmentRecurrence AppointmentRecurrence AppointmentRecurrence Class

Definition

Represents when and how often an appointment occurs.

public : sealed class AppointmentRecurrence : IAppointmentRecurrence, IAppointmentRecurrence2, IAppointmentRecurrence3public sealed class AppointmentRecurrence : IAppointmentRecurrence, IAppointmentRecurrence2, IAppointmentRecurrence3Public NotInheritable Class AppointmentRecurrence Implements IAppointmentRecurrence, IAppointmentRecurrence2, IAppointmentRecurrence3// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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

Constructors

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

Initializes a new instance of the AppointmentRecurrence class.

public : AppointmentRecurrence()public AppointmentRecurrence()Public Sub New()// You can use this method in JavaScript.

Properties

CalendarIdentifier CalendarIdentifier CalendarIdentifier CalendarIdentifier

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

public : PlatForm::String CalendarIdentifier { get; }public string CalendarIdentifier { get; }Public ReadOnly Property CalendarIdentifier As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

A string that identifies the type of the calendar.

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.

public : unsigned int Day { get; set; }public uint Day { get; set; }Public ReadWrite Property Day As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The day on which an appointment occurs.

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.

public : AppointmentDaysOfWeek DaysOfWeek { get; set; }public AppointmentDaysOfWeek DaysOfWeek { get; set; }Public ReadWrite Property DaysOfWeek As AppointmentDaysOfWeek// You can use this property in JavaScript.
Value
AppointmentDaysOfWeek AppointmentDaysOfWeek AppointmentDaysOfWeek AppointmentDaysOfWeek

A combination of AppointmentDaysOfWeek -typed values that are combined by using a bitwise OR operation. The resulting value specifies all the days of the week on which an appointment occurs.

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.

public : unsigned int Interval { get; set; }public uint Interval { get; set; }Public ReadWrite Property Interval As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The interval on which an appointment occurs.

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.

public : unsigned int Month { get; set; }public uint Month { get; set; }Public ReadWrite Property Month As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The month on which an appointment occurs.

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.

public : IReference<uint> Occurrences { get; set; }public Nullable<uint> Occurrences { get; set; }Public ReadWrite Property Occurrences As Nullable<uint>// You can use this property in JavaScript.
Value
IReference<unsigned int> Nullable<uint> Nullable<uint> Nullable<uint>

The number of times an appointment recurs.

RecurrenceType RecurrenceType RecurrenceType RecurrenceType

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

public : RecurrenceType RecurrenceType { get; }public RecurrenceType RecurrenceType { get; }Public ReadOnly Property RecurrenceType As RecurrenceType// You can use this property in JavaScript.
Value
RecurrenceType RecurrenceType RecurrenceType RecurrenceType

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

TimeZone TimeZone TimeZone TimeZone

Gets or sets the time zone for the recurrence.

public : PlatForm::String TimeZone { get; set; }public string TimeZone { get; set; }Public ReadWrite Property TimeZone As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The time zone for the recurrence.

Remarks

StartTime is projected to type DateTimeOffset in C# and JavaScript and DateTime in C++. Because these types represents absolute point in time, setting the TimeZone of the recurrence will not change what time the appointment occurs. This field can be used by your app's UI to simply show the time zone value or to localize the appointment time to the time zone.

Unit Unit Unit Unit

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

public : AppointmentRecurrenceUnit Unit { get; set; }public AppointmentRecurrenceUnit Unit { get; set; }Public ReadWrite Property Unit As AppointmentRecurrenceUnit// You can use this property in JavaScript.
Value
AppointmentRecurrenceUnit AppointmentRecurrenceUnit AppointmentRecurrenceUnit AppointmentRecurrenceUnit

A AppointmentRecurrenceUnit -typed value that indicates the frequency for which the appointment occurs.

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.

public : IReference<DateTime> Until { get; set; }public Nullable<DateTimeOffset> Until { get; set; }Public ReadWrite Property Until As Nullable<DateTimeOffset>// You can use this property in JavaScript.
Value
IReference<DateTime> Nullable<DateTimeOffset> Nullable<DateTimeOffset> Nullable<DateTimeOffset>

The date and time until which an appointment is valid.

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.

public : AppointmentWeekOfMonth WeekOfMonth { get; set; }public AppointmentWeekOfMonth WeekOfMonth { get; set; }Public ReadWrite Property WeekOfMonth As AppointmentWeekOfMonth// You can use this property in JavaScript.
Value
AppointmentWeekOfMonth AppointmentWeekOfMonth AppointmentWeekOfMonth AppointmentWeekOfMonth

A AppointmentWeekOfMonth -typed value that indicates the week of the month for which the appointment occurs.

See Also