Ping Ms. Mosher: How to tell if an AppointmentItem is master or not

J

JohnV@nn

In a com add-in, is there a way to programatically test whether an
appointmentItem object is a series master, or just an occurrence in
the series? I found that the IsRecurring property is True, whether or
not the item is the master. And I don't see anything like an IsMaster
or IsOccurrence property.

Is there a way to do this?

Thanks,
John
 
D

Dmitry Streblechenko

Use AppointmentItem.RecurrenceState property:
olApptNotRecurring, olApptMaster, olApptOccurrence, olApptException

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

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