Selecting current Item in C#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
In VB.net if we want to identify current mail item in outlook, we will use
following code.

Set objApp = CreateObject("outlook.Application")
Set objselection = objApp.ActiveExplorer.Selection
Set objItem = objselection.Item(1)

I am looking corresponding code in C#.

I can able to see only Application.ActiveExplorer and not able to find
..Selection.Item.
Could any body help me. It is urgent.

thanks,
Kannan.
 

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

Back
Top