您好我正在尝试以编程方式将 webcal 添加到前景中
Outlook.Application ouApplication = new Outlook.Application();
Outlook.Folder newFolder = ouApplication.GetNamespace("MAPI").OpenSharedFolder("webcalURL") as Outlook.Folder;
但是我如何检查已经添加了相同的 webcal 的位置...
if(!AlreadyAdded())
{
Outlook.Application ouApplication = new Outlook.Application();
Outlook.Folder newFolder = ouApplication.GetNamespace("MAPI").OpenSharedFolder("webcalURL") as Outlook.Folder;
}
bool AlreadyAdded()
{
//Check webcal is already added or not
}