Unable to set item datetime (as PT_SYSTIME) using PropertyAccessor in Outlook VSTO
问题 Setting a datetime column in Outlook to a c# DateTime value with the following code documentItem.PropertyAccessor.SetProperty( "http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/TestDate/0x0000001F", documentItem.PropertyAccessor.LocalTimeToUTC(DateTime.Now)); converts the columnvalue to type PT_APPTIME, which can't be displayed, sorted etc. in an Outlook-Tableview. All my tries to set the value as a PT_SYSTIME (eg. creating my own PROPVARIANT struct, Marshal