user911651
user911651

Reputation:

Outlook AddIn - determine whether an appointment item has been sent or not

I have an Outlook 2010 C# AddIn, where I have the problem to find out whether an AppointmentItem has already been sent or not.

Can someone help?

Upvotes: 1

Views: 584

Answers (2)

Dmitry Streblechenko
Dmitry Streblechenko

Reputation: 66215

You need to check if the following named property is set to true using AppointmentItem.PropertyAccessor.GetProperty

{00062002-0000-0000-C000-000000000046}, 0x8229, PT_BOOLEAN

The DASL name is http://schemas.microsoft.com/mapi/id/{00062002-0000-0000-C000-000000000046}/8229000B

Upvotes: 1

lightsong
lightsong

Reputation: 391

Adding this answer simply because @Dmitry's comment was missing a "/" as a result of the Comment's section's apparent limitation to handle the syntax completely -

bool wasSent = AppointmentItem.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/id/{00062002-0000-0000-C000-000000000046}/8229000B");

This answer helped me as well!

Upvotes: 0

Related Questions