【问题标题】:Live SDK Calendar Event UploadLive SDK 日历事件上传
【发布时间】: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


    【解决方案1】:

    没有。

    但是 Live SDK 允许你在连接的日历上写,而不是用户?

    您可以在手机上使用同一帐户登录用户并在他的日历中书写。 更改将反映在手机中。

    否则...应该一一做:

    foreach (KeyValuePair<DateTime?, Klassenbibliothek.TagNeu> Element in KalenderJahr) {
        Dictionary<string, object> calEvent = new Dictionary<string, object>();
        new SaveAppointmentTask {
            StartTime = Element.Value.Starttime,
            EndTime = Element.Value.Endtime,
            Subject = Element.Value.Name,
            Location = "",
            Details = "",
            IsAllDayEvent = ""
        }.Show();
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-10-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-29
      • 1970-01-01
      相关资源
      最近更新 更多