在Outlook中迭代RSS提要帐户,删除,删除和更改它们 [英] Iterating over RSS feed accounts in outlook, deleting, removing and changing them

查看:86
本文介绍了在Outlook中迭代RSS提要帐户,删除,删除和更改它们的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我有兴趣在Outlook中迭代RSS Feed帐户,删除,删除和更改它们。


< span style ="font-size:x-small">我看到  Dmitry Streblechenko(MVP)在论坛中发帖讨论:


IPM.Sharing.Index.In收件箱中隐藏的消息


和这些隐藏消息的关联数据中的RSS提要详情。


我想知道如果有人有一个具体的c#代码吗?


谢谢


Roy Waxman


解决方案

您好,


您可以从使用任何低级属性查看器实用程序(如MFCMAPI或OutlookSpy)开始。这样,您就可以在Outlook中学习隐藏的邮件和文件夹。 


  Outlook对象模型提供
GetStorage
文件夹类的方法g   StorageItem   对象
在父 
< strong style =""> 文件夹   存储Outlook解决方案的数据。


Outlook对象模型不为  StorageItem  提供任何集合对象; 对象。但是,您可以使用  Folder.GetTable  
获取a  
  包含中的所有隐藏项目  文件夹
指定 
< em style =""> TableContents   参数为  olHiddenItems 。如果保密您的数据是一个高度关注点,
您应该在存储之前对数据进行加密。


  GetStorage   方法获取  StorageItem     文件夹   对象上使用指定的标识符
by   StorageIdentifier   ,其标识符类型由  StorageIdentifierType 指定。   StorageItem     文件夹中的隐藏项目,
与该帐户漫游并可在线和离线使用。


如果您指定  EntryID <   StorageItem   使用 
span> olIdentifyByEntryID     StorageIdentifierType 的值,然后  GetStorage   方法将使用$ b返回  StorageItem   $ b指定的  EntryID 。如果没有使用  EntryID 找到  StorageItem     或者如果  StorageItem   不存在
,那么  GetStorage   方法会引发错误。


如果指定消息使用  olIdentifyByMessageClass <  StorageItem   的课程span>    StorageIdentifierType 的值,
然后  GetStorage   方法将返回带有指定邮件类的  StorageItem   。如果有多个项目具有相同的邮件类别,则
  GetStorage   方法会返回最多的项目最近<跨度>&NBSP; PR_LAST_MODIFICATION_TIME 即可。如果  StorageItem  
存在指定的邮件类,则  GetStorage   方法会使用此消息创建新的  StorageItem     StorageIdentifier 指定的类。


如果您指定  主题     StorageItem
然后  GetStorage   方法将返回  StorageItem     ; 主题     GetStorage   通话。
如果有多个项目具有相同的  主题,则  GetStorage   方法将返回包含最新  PR_LAST_MODIFICATION_TIME 的项目。
如果没有  StorageItem   与指定的  主题,然后  GetStorage   方法将创建一个新的  StorageItem   指定的  主题     StorageIdentifier


GetStorage   会返回错误如果不支持该文件夹的商店类型。当  GetStorage   被调用时,以下商店会返回错误:




  • Hotmail商店



  • Internet消息访问协议(IMAP)存储



  • 委托商店



  • 公用文件夹存储




存储解决方案的数据
文章。


Hello,

I am interested in iterating over RSS feed accounts in outlook, deleting, removing and changing them.

I saw Dmitry Streblechenko (MVP) posts in the forum discussing:

IPM.Sharing.Index.In hidden messages in the Inbox

And RSS feed details in Associated Data of these hidden messages.

I am wondering if someone has a concrete c# code doing this?

Thanks

Roy Waxman

解决方案

Hello,

You can start from using any low-level property viewer utility such as MFCMAPI or OutlookSpy. That way you can learn hidden messages and folders in Outlook. 

 The Outlook object model provides the GetStorage method of the Folder class which gets a StorageItem object on the parent Folder to store data for an Outlook solution.

The Outlook object model does not provide any collection object for StorageItem objects. However, you can use Folder.GetTable to obtain a Table with all the hidden items in a Folder, when you specify the TableContents parameter as olHiddenItems. If keeping your data private is of a high concern, you should encrypt the data before storing it.

The GetStorage method obtains a StorageItem on a Folder object using the identifier specified by StorageIdentifier and has the identifier type specified by StorageIdentifierType. The StorageItem is a hidden item in the Folder, which roams with the account and is available online and offline.

If you specify the EntryID for the StorageItem by using the olIdentifyByEntryID value for StorageIdentifierType, then the GetStorage method will return the StorageItem with the specified EntryID. If no StorageItem can be found using that EntryID or if the StorageItem does not exist, then the GetStorage method will raise an error.

If you specify the message class for the StorageItem by using the olIdentifyByMessageClass value for StorageIdentifierType, then the GetStorage method will return the StorageItem with the specified message class. If there are multiple items with the same message class, then the GetStorage method returns the item with the most recent PR_LAST_MODIFICATION_TIME. If no StorageItem exists with the specified message class, then the GetStorage method creates a new StorageItem with the message class specified by StorageIdentifier.

If you specify the Subject of the StorageItem, then the GetStorage method will return the StorageItem with the Subject specified in the GetStorage call. If there are multiple items with the same Subject, then the GetStorage method will return the item with the most recent PR_LAST_MODIFICATION_TIME. If no StorageItem exists with the specified Subject, then the GetStorage method will create a new StorageItem with the Subject specified by StorageIdentifier.

GetStorage returns an error if the store type of the folder is not supported. The following stores return an error when GetStorage is called:

  • Hotmail store

  • Internet Message Access Protocol (IMAP) stores

  • Delegate stores

  • Public folder stores

Read more about that in the Storing Data for Solutions article.


这篇关于在Outlook中迭代RSS提要帐户,删除,删除和更改它们的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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