Udostępnij za pośrednictwem


AppointmentRecurrence Class

Definition

Represents when and how often an appointment occurs.

public ref class AppointmentRecurrence sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class AppointmentRecurrence final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class AppointmentRecurrence final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class AppointmentRecurrence
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class AppointmentRecurrence
function AppointmentRecurrence()
Public NotInheritable Class AppointmentRecurrence
Inheritance
Object Platform::Object IInspectable AppointmentRecurrence
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
appointmentsSystem

Remarks

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

Constructors

AppointmentRecurrence()

Initializes a new instance of the AppointmentRecurrence class.

Properties

CalendarIdentifier

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

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

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

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

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

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

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

TimeZone

Gets or sets the time zone for the recurrence.

Unit

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

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

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.

Applies to

See also