Skip to main content

Appointment Members

An appointment in the scheduler control.

#Constructors

Name Description
Appointment() Initializes a new instance of the Appointment class with default settings.
Appointment(AppointmentType) Initializes a new instance of the Appointment class of the specified type.
Appointment(AppointmentType, DateTime, DateTime) Initializes a new instance of the Appointment class with the specified type, start date and end date.
Appointment(AppointmentType, DateTime, DateTime, String) Initializes a new instance of the Appointment class with the specified type, start date, end date and subject.
Appointment(AppointmentType, DateTime, TimeSpan) Initializes a new instance of the Appointment class with the specified type, start date, and duration.
Appointment(AppointmentType, DateTime, TimeSpan, String) Initializes a new instance of the Appointment class with the specified type, start date, duration and subject.
Appointment(AppointmentType, DateTime, TimeSpan, String, Object) Initializes a new instance of the Appointment class with the specified type, start date, duration, subject and identifier.
Appointment(DateTime, DateTime) Initializes a new instance of the Appointment class with the specified start date and end date.
Appointment(DateTime, DateTime, String) Initializes a new instance of the Appointment class with the specified start date, end date and subject.
Appointment(DateTime, TimeSpan) Initializes a new instance of the Appointment class with the specified start date and duration.
Appointment(DateTime, TimeSpan, String) Initializes a new instance of the Appointment class with the specified start date, duration and subject.

#Properties
Show Inherited Hide Inherited

Name Description
AllDay Gets or sets a value indicating if the current appointment is an All-day appointment.
CustomFields Gets the collection of custom fields bound to the persistent object. Inherited from PersistentObject.
Description Gets or sets the text for the appointment's description.
Duration Gets or sets the duration of the appointment.
End Gets or sets the end date and time of the appointment.
HasExceptions Gets whether changed or deleted occurrences have been created for the current pattern appointment.
HasReminder Gets or sets a value that indicates whether one or more reminders are associated with the appointment.
Id Gets an appointment identifier.
IsBase Gets a value indicating if the appointment is a base (of the Normal or Pattern type).
IsException Gets a value indicating if the appointment is an exception (of the ChangedOccurrence or DeletedOccurrence type).
IsOccurrence Gets a value indicating if the appointment is an occurrence (of the Occurrence, ChangedOccurrence or DeletedOccurrence type).
IsRecurring Gets a value indicating if the appointment is recurring.
IsUpdateLocked Gets whether the persistent object is locked while it is being updated. Inherited from PersistentObject.
LabelId Gets or sets the index of the label object associated with the appointment.
Location Gets or sets the text that specifies where the appointment is going to be.
LongerThanADay Gets a value that indicates whether the appointment's duration is equal to or greater than one day.
PercentComplete
RecurrenceIndex Gets a value that indicates the index of the appointment occurrence within the series of the appointment's reoccurrences.
RecurrenceInfo Gets an object that contains information about the recurrences of the appointment.
RecurrencePattern Gets the pattern appointment object which is the parent of the current appointment.
Reminder Gets the reminder which is associated with the appointment.
Reminders Gets a collection of reminders which are associated with the appointment.
ResourceId Gets or sets the unique identifier of the resource associated with the current appointment, or the ID of the first resource if resource sharing is enabled.
ResourceIds Gets the identifiers of all resources which are associated with the current appointment.
RowHandle protected Gets or sets a value that identifies the data row bound to the persistent object. Inherited from PersistentObject.
SameDay Gets a value that indicates whether the appointment's start and end times are on the same day.
Start Gets or sets the start date and time of the appointment.
StatusId Gets or sets the index of the availability status object associated with the appointment.
Subject Gets or sets the appointment's subject text.
Type Gets the type of the appointment.

#Methods
Show Inherited Hide Inherited

Name Description
BeginUpdate() Locks the object until the EndUpdate or CancelUpdate method is called. Inherited from PersistentObject.
CancelUpdate() Unlocks the PersistentObject object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from PersistentObject.
Copy() Creates a copy of the current Appointment object.
CreateException(AppointmentType, Int32) Creates an exceptional appointment within a chain of recurring appointments.
CreateNewReminder() Returns a new reminder for the appointment.
Delete() Deletes the Appointment object from the appointment collection to which it belongs.
DeleteExceptions() Deletes changed and deleted occurrences of the current pattern appointment.
Dispose() Disposes of the PersistentObject object. Inherited from PersistentObject.
EndUpdate() Unlocks the PersistentObject object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from PersistentObject.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetExceptions() Returns a collection of the changed and deleted occurrences for the current pattern appointment.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetOccurrence(Int32) Gets an occurrence at a specific position within a chain of recurring appointments.
GetRow(SchedulerStorageBase) Provides access to the data record for the current appointment.
GetType() Gets the Type of the current instance. Inherited from Object.
GetValue(SchedulerStorageBase, String) Obtains the value of the specific field in the current appointment data record supplied by the specified storage object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
RaiseDeleting() protected This member supports the internal infrastructure and is not intended to be used directly from your code. Inherited from PersistentObject.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RestoreOccurrence() Replaces an exceptional appointment with the regular occurrence in the chain of recurring appointments.
SetValue(SchedulerStorageBase, String, Object) Performs a transaction to change the value of the specific field in the current appointment data record supplied by the specified storage object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also