示例#1
0
 /// <summary>
 /// Binds to an occurence of an existing appointment 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="recurringMasterId">The Id of the recurring master that the index represents an occurrence of.</param>
 /// <param name="occurenceIndex">The index of the occurrence.</param>
 /// <returns>An Appointment instance representing the appointment occurence corresponding to the specified occurence index .</returns>
 public static Task <Appointment> BindToOccurrence(
     ExchangeService service,
     ItemId recurringMasterId,
     int occurenceIndex)
 {
     return(Appointment.BindToOccurrence(
                service,
                recurringMasterId,
                occurenceIndex,
                PropertySet.FirstClassProperties));
 }