【发布时间】:2014-02-27 15:14:28
【问题描述】:
是否可以使用 Microsoft Live SDK for Windows Phone 上传事件列表,而不是单独上传事件列表?
我当前的代码:
foreach (KeyValuePair<DateTime?, Klassenbibliothek.TagNeu> Element in KalenderJahr)
{
Dictionary<string, object> calEvent = new Dictionary<string, object>();
calEvent.Add("name", Element.Value.Name);
calEvent.Add("description", Element.Value.Name);
calEvent.Add("start_time", Element.Value.Starttime);
calEvent.Add("end_time", Element.Value.Endtime);
calEvent.Add("location", "");
calEvent.Add("is_all_day_event", true);
calEvent.Add("availability", "busy");
calEvent.Add("visibility", "private");
client.PostAsync(CalID + "/events", calEvent);
}
谢谢菲利克斯
【问题讨论】:
标签: c# calendar windows-phone live