使用C#在Google日历中创建强制事件 [英] Create a mandatory event in Google calendar using C#

查看:135
本文介绍了使用C#在Google日历中创建强制事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我试图使用C#在Google日历中创建强制事件。

强制性事件意味着事件将在特定时间段内(不是整天),并且不是是,否,可能是选项。



使用全天日历我可以删除是/否/可能选项,但需要设置一个特定的时间段,整个日活动不允许。



我尝试过:



我在谷歌搜索过,也尝试使用 Google API助手,但未找到解决方案。

Hi,

I was trying to create a mandatory event in Google calendar using C#.
Mandatory event means the event will be for a specific time period (not for whole day) and it will be not "Yes", "No", "May be" option in it.

Using a whole day calendar I can remove the "Yes"/"No"/"May be" option, but need to set a specific time period, which whole day event doesn't allow.

What I have tried:

I have searched in Google, also tried with Google API helper, but no solutions found.

推荐答案

使用Google快速搜索: google calendar api全天活动c - Google搜索 [ ^ ]



发现:事件:插入  |  Calendar API  |  Google Developers [ ^ ]



上面的链接显示了如何创建事件(有多种语言的示例),您需要做的就是设置正确的开始和结束时间时区。全天活动将于0:00开始,结束于23:59.59。
A quick search using Google: google calendar api all day event c - Google Search[^]

Found this: Events: insert  |  Calendar API  |  Google Developers[^]

The link above shows how to create an event (has an example in multiple languages) and all that you need to do is set the start and end times for the correct timezone. An all day event would start at 0:00 and end at 23:59.59.


这篇关于使用C#在Google日历中创建强制事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆