List of explorers

H

Hichem Sarrai

Hi,
Is there an outlookApplication.Explorers[0].
and what is the difference with outlookApplication.Explorers[1].

When I initialize my outlook addin I do the following :

if (Explorers.Count >= 1)
{
OutlookExplorersManager.AddExplorer(this, Explorers[1]);
}

If Explorers[0] exists would it be more logic to write :

if (Explorers.Count >= 2)
{
OutlookExplorersManager.AddExplorer(this, Explorers[1]);
}


Thanks for answering...
 
S

Sue Mosher [MVP-Outlook]

No. Explorers, like other Outlook object model collections, is 1-based, not
0-based.
 

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