0

我正在尝试使用 Windows Live REST API(适用于 Windows Phone 8)在 Outlook.com 上创建会议。我可以使用事件对象的所有基本字段(http://msdn.microsoft.com/en-us/library/hh243648.aspx#event)创建一个日历条目,但我找不到方法将组织者和与会者添加到活动中。

有一种方法可以做到这一点,使用未为事件结构指定的任何键?比如我看到在contact对象中可以包含一个user对象,即使没有指定到结构体中(它是写在表下的)。

这是我现在使用的结构:它有效,也许对其他人有用(正如我所说,它缺少组织者和与会者):

IDictionary<string, object> appointment = new Dictionary<string, object>();
appointment.Add("name", "event");
appointment.Add("description", "a meeting");
appointment.Add("start_time", "2014-11-19T23:37:00+01:00");
appointment.Add("end_time", "2014-11-27T02:37:00+01:00");
appointment.Add("location", "somewhere");
appointment.Add("is_all_day_event", false);
appointment.Add("reminder_time", 15); //minutes
appointment.Add("availability", "free");
appointment.Add("visibility", "public");
4

0 回答 0