GetSchema method
Binds to an occurence of an existing appointment and loads its first class properties.
Calling this method results in a call to EWS.
The service to use to bind to the appointment.
The Id of the recurring master that the index represents an occurrence of.
The index of the occurrence.
Binds to an occurence of an existing appointment and loads the specified set of properties.
Calling this method results in a call to EWS.
The service to use to bind to the appointment.
The Id of the recurring master that the index represents an occurrence of.
The index of the occurrence.
The set of properties to load.
Binds to the master appointment of a recurring series and loads its first class properties.
Calling this method results in a call to EWS.
The service to use to bind to the appointment.
The Id of one of the occurrences in the series.
Binds to the master appointment of a recurring series and loads the specified set of properties.
Calling this method results in a call to EWS.
The service to use to bind to the appointment.
The Id of one of the occurrences in the series.
The set of properties to load.
method to return the schema associated with this type of object.
Implementation
// static Appointment BindToOccurrence(
// ExchangeService service,
// ItemId recurringMasterId,
// int occurenceIndex)
// {
// return Appointment.BindToOccurrence(
// service,
// recurringMasterId,
// occurenceIndex,
// PropertySet.FirstClassProperties);
// }
/// <summary>
/// Binds to an occurence of an existing appointment and loads the specified set of properties.
/// Calling this method results in a call to EWS.
/// </summary>
/// <param name="service">The service to use to bind to the appointment.</param>
/// <param name="recurringMasterId">The Id of the recurring master that the index represents an occurrence of.</param>
/// <param name="occurenceIndex">The index of the occurrence.</param>
/// <param name="propertySet">The set of properties to load.</param>
/// <returns>An Appointment instance representing the appointment occurence corresponding to the specified occurence index.</returns>
// static Future<Appointment> BindToOccurrence(
// ExchangeService service,
// ItemId recurringMasterId,
// int occurenceIndex,
// PropertySet propertySet)
// {
// AppointmentOccurrenceId occurenceId = new AppointmentOccurrenceId(recurringMasterId.UniqueId, occurenceIndex);
// return Appointment.BindWithItemIdAndPropertySet(
// service,
// occurenceId,
// propertySet);
// }
/// <summary>
/// Binds to the master appointment of a recurring series and loads its first class properties.
/// Calling this method results in a call to EWS.
/// </summary>
/// <param name="service">The service to use to bind to the appointment.</param>
/// <param name="occurrenceId">The Id of one of the occurrences in the series.</param>
/// <returns>An Appointment instance representing the master appointment of the recurring series to which the specified occurrence belongs.</returns>
// static Appointment BindToRecurringMaster(ExchangeService service, ItemId occurrenceId)
// {
// return Appointment.BindToRecurringMaster(
// service,
// occurrenceId,
// PropertySet.FirstClassProperties);
// }
/// <summary>
/// Binds to the master appointment of a recurring series and loads the specified set of properties.
/// Calling this method results in a call to EWS.
/// </summary>
/// <param name="service">The service to use to bind to the appointment.</param>
/// <param name="occurrenceId">The Id of one of the occurrences in the series.</param>
/// <param name="propertySet">The set of properties to load.</param>
/// <returns>An Appointment instance representing the master appointment of the recurring series to which the specified occurrence belongs.</returns>
// static Appointment BindToRecurringMaster(
// ExchangeService service,
// ItemId occurrenceId,
// PropertySet propertySet)
// {
// RecurringAppointmentMasterId recurringMasterId = new RecurringAppointmentMasterId(occurrenceId.UniqueId);
// return Appointment.Bind(
// service,
// recurringMasterId,
// propertySet);
// }
/// <summary>
/// method to return the schema associated with this type of object.
/// </summary>
/// <returns>The schema associated with this type of object.</returns>
@override
ServiceObjectSchema GetSchema() {
return AppointmentSchema.Instance;
}