EWS 在正文中使用默认的“时间”文本创建约会。请看下图:
我想知道是否可以通过某种方式删除或隐藏此文本。
这是我使用 EWS 托管 API 创建约会的代码
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP1, TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time"));
service.Credentials = new WebCredentials("ews_calendar", PASSWORD, "acme");
service.Url = new Uri("https://acme.com/EWS/Exchange.asmx");
Appointment newAppointment = new Appointment(service);
newAppointment.Subject = "Test Subject";
newAppointment.Body = "Test Body";
newAppointment.Start = new DateTime(2012, 07, 19, 17, 00, 0);
newAppointment.End = newAppointment.Start.AddMinutes(30);
newAppointment.RequiredAttendees.Add("first.last@acme.com");
// create new appointment
newAppointment.Save(SendInvitationsMode.SendToAllAndSaveCopy);