自动化使用XML [英] Automate using XML

查看:70
本文介绍了自动化使用XML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发Outlook加载项以过滤收件箱中的电子邮件.用户输入过滤器要求后,在加载Outlook时,我需要将过滤器应用于每封新电子邮件.

我有一个特定的表格,可以让用户在每封电子邮件的正文内容中输入要搜索的单词,然后在数据网格中过滤电子邮件.我要使用XML进行的工作是保存这些过滤条件字词和它们应用到的文件夹名称,并自动执行该任务,而无需从用户那里获得更多信息. XML是否可以解决这个问题,还是需要使用其他任何技巧?

I am developing an Outlook add-in to filter e-mails in the inbox. Once the user enters the filter requirements, I need to apply the filter to every new email, when outlook is loading.

I have a specific form to let users enter words to search for in the body content of each email, then the emails are filtered in a data grid. What I want to do with XML is save those filter criteria words and the folder name to which they apply and automatically perform that task without getting any more information from the user. Is this possible with XML or do I need to use any other technique?

推荐答案

我编辑了您的问题以使其更加清楚.查看我所做的更改并尝试向他们学习,以便您可以更清楚地表达下一个问题.

听起来就像您只想存储一些结构化的数据集合.是的,您可以使用XML来实现.
I edited your question to make it more clear. Look at the changes I made and try to learn from them so you can phrase your next question more clearly.

Sounds like you just want to store some structured collections of data. Yes, you can do that with XML.


这篇关于自动化使用XML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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