help for using Find/Restrict method in outlook c# programming

A

AV

Hi,

I am trying to write some outlook add-in with c#. When I am using the
Restrict method to retrieve some items in a folder, I am difficult to code
the filter expression. Please help me or where can I find more information
on it? I just find some VB code, such as fldMail.Items.Restrict("[SentOn] >
'" & (Date - 7) & "' And [UnRead] = True And [Importance] = High"). But it
does not work in c#.

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top