PropertyAccessor.GetProperty values in .ics file RRS feed

  • Question

  • I have an app that creates a MeetingItem from an .ics file. I have used OutlookSpy to get to the Definitions of most of the fields that I need to use. However, I still can’t locate the correct definitions for:

    X-MICROSOFT-LOCATIONS (which is a JSON string) and
    ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN= an email address which shows up in Outlook as RequiredAttendees 

    Here is the code snippet that I use to open the .ics file (nothing fancy):

    Private Const con_PR_START_DATE = "" Private Const con_PR_END_DATE = ""

    Dim objMeeting as Outlook.MeetingItem
    Dim objPropAcc as Outlook.PropertyAccessor

    objMeeting = mpnNamespace.OpenSharedItem(strTempFilesDir & "\Cal01.ics") Debug.Print($"objMeeting.Subject: {objMeeting.Subject}") objPropAcc = objMeeting.PropertyAccessor Debug.Print($"PR_START_DATE: {CDate(objPropAcc.GetProperty(con_PR_START_DATE)).ToLocalTime}") Debug.Print($"PR_END_DATE: {CDate(objPropAcc.GetProperty(con_PR_END_DATE)).ToLocalTime}")

    As you can see, I already have some of the definitions (of Properties) that I need, I just need the X-MICROSOFT-DEFINITIONS (which is how it’s declared in the .ics file), and RequiredAttendees value (which is somehow built from ATTENDEE declaration in the .ics file).

    I have searched online for several days in an effort to find the correct KEY (Guid, etc), but cannot find any reference to these properties.

    Any assistance would be greatly appreciated.
    Thank you for your time in advance.

    Paul Goldstein

    Paul D. Goldstein Forceware Systems, Inc.

    Thursday, August 13, 2020 3:48 AM