我正在尝试通过 PropertyAccessor 读取和写入消息日期(发送/接收),但无法弄清楚该属性的架构名称是什么,甚至不确定我是否正确传递了架构参数。
正确的架构名称是什么?
如何正确传递GetProperty()and的参数SetProperty()?
某处是否有每个属性的可用名称列表?
有没有办法在没有模式的情况下获取/设置属性,而只需使用属性名称?
object prop = item.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x10130102"); // I know 0x10130102 is not correct but don't know what the correct one is.
item.PropertyAccessor.SetProperty("http://schemas.microsoft.com/mapi/proptag/0x10130102", DateTime.Now.ToFileTimeUtc());
Run Code Online (Sandbox Code Playgroud)