消息日期属性的架构名称 [英] Schema name for the message date property

查看:105
本文介绍了消息日期属性的架构名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图通过PropertyAccessor读写消息日期(发送/接收),但无法确定该属性的模式名称是什么,甚至不确定我是否正确传递了模式参数

I'm trying to read and write the message date (sent/received) through the PropertyAccessor but can't figure out what the schema name for that property is and am not even sure if I'm passing the schema argument correctly.

正确的架构名称是什么?
如何正确传递GetProperty()SetProperty()的参数?
某处是否有每个属性的可用名称列表?
有没有什么方法可以仅通过使用属性名称来获得/设置没有模式的属性?

What's the correct schema name?
How to correctly pass the arguments for GetProperty() and SetProperty()?
Is there a list of available names for each property somewhere?
Is there any way to get/set a property without schemas but simply by using property name?

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());

推荐答案

这是电子邮件属性的完整列表( BOLD 中可能的候选者):

This is a full List of email properties (Possible candidates in BOLD):

"PR_MESSAGE_CLASS"" http://schemas.microsoft.com/mapi/proptag/0x001A001E "

"PR_MESSAGE_CLASS" "http://schemas.microsoft.com/mapi/proptag/0x001A001E"

"PR_SUBJECT"" http://schemas.microsoft.com/mapi/proptag/0x0037001E "

"PR_SUBJECT" "http://schemas.microsoft.com/mapi/proptag/0x0037001E"

"PR_CLIENT_SUBMIT_TIME" " http://schemas.microsoft.com /mapi/proptag/0x00390040 "

"PR_SENT_REPRESENTING_SEARCH_KEY"" http://schemas.microsoft.com/mapi/proptag/0x003B0102 "

"PR_SENT_REPRESENTING_SEARCH_KEY" "http://schemas.microsoft.com/mapi/proptag/0x003B0102"

"PR_SUBJECT_PREFIX PT_STRING8"" http://schemas.microsoft.com/mapi/proptag/0x003D001E "

"PR_SUBJECT_PREFIX PT_STRING8" "http://schemas.microsoft.com/mapi/proptag/0x003D001E"

"PR_RECEIVED_BY_ENTRYID"" http://schemas.microsoft.com/mapi/proptag/0x003F0102 "

"PR_RECEIVED_BY_ENTRYID" "http://schemas.microsoft.com/mapi/proptag/0x003F0102"

"PR_RECEIVED_BY_NAME"" http://schemas.microsoft.com/mapi/proptag/0x0040001E "

"PR_RECEIVED_BY_NAME" "http://schemas.microsoft.com/mapi/proptag/0x0040001E"

"PR_SENT_REPRESENTING_ENTRYID" propertyAccessor.GetProperty(" http://schemas.microsoft.com/mapi/proptag/0x00410102 "

"PR_SENT_REPRESENTING_ENTRYID" propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x00410102"

"PR_SENT_REPRESENTING_NAME"" http://schemas.microsoft.com/mapi/proptag/0x0042001E "

"PR_SENT_REPRESENTING_NAME" "http://schemas.microsoft.com/mapi/proptag/0x0042001E"

"PR_REPLY_RECIPIENT_ENTRIES"" http://schemas.microsoft.com/mapi/proptag/0x004F0102 "

"PR_REPLY_RECIPIENT_ENTRIES" "http://schemas.microsoft.com/mapi/proptag/0x004F0102"

"PR_REPLY_RECIPIENT_NAMES"" http://schemas.microsoft.com/mapi/proptag/0x0050001E "

"PR_REPLY_RECIPIENT_NAMES" "http://schemas.microsoft.com/mapi/proptag/0x0050001E"

"PR_RECEIVED_BY_SEARCH_KEY"" http://schemas.microsoft.com/mapi/proptag/0x00510102 "

"PR_RECEIVED_BY_SEARCH_KEY" "http://schemas.microsoft.com/mapi/proptag/0x00510102"

"PR_SENT_REPRESENTING_ADDRTYPE"" http://schemas.microsoft.com/mapi/proptag/0x0064001E "

"PR_SENT_REPRESENTING_ADDRTYPE" "http://schemas.microsoft.com/mapi/proptag/0x0064001E"

"PR_SENT_REPRESENTING_EMAIL_ADDRESS"" http://schemas.microsoft.com/mapi/proptag/0x0065001E "

"PR_SENT_REPRESENTING_EMAIL_ADDRESS" "http://schemas.microsoft.com/mapi/proptag/0x0065001E"

"PR_CONVERSATION_TOPIC"" http://schemas.microsoft.com/mapi/proptag/0x0070001E "

"PR_CONVERSATION_TOPIC" "http://schemas.microsoft.com/mapi/proptag/0x0070001E"

"PR_CONVERSATION_INDEX"" http://schemas.microsoft.com/mapi/proptag/0x00710102 "

"PR_CONVERSATION_INDEX" "http://schemas.microsoft.com/mapi/proptag/0x00710102"

"PR_RECEIVED_BY_ADDRTYPE"" http://schemas.microsoft.com/mapi/proptag/0x0075001E "

"PR_RECEIVED_BY_ADDRTYPE" "http://schemas.microsoft.com/mapi/proptag/0x0075001E"

"PR_RECEIVED_BY_EMAIL_ADDRESS"" http://schemas.microsoft.com/mapi/proptag/0x0076001E "

"PR_RECEIVED_BY_EMAIL_ADDRESS" "http://schemas.microsoft.com/mapi/proptag/0x0076001E"

"PR_TRANSPORT_MESSAGE_HEADERS"" http://schemas.microsoft.com/mapi/proptag/0x007D001E "

"PR_TRANSPORT_MESSAGE_HEADERS" "http://schemas.microsoft.com/mapi/proptag/0x007D001E"

"PR_SENDER_ENTRYID"" http://schemas.microsoft.com/mapi/proptag/0x0C190102 "

"PR_SENDER_ENTRYID" "http://schemas.microsoft.com/mapi/proptag/0x0C190102"

"PR_SENDER_NAME"" http://schemas.microsoft.com/mapi/proptag/0x0C1A001E "

"PR_SENDER_NAME" "http://schemas.microsoft.com/mapi/proptag/0x0C1A001E"

"PR_SENDER_SEARCH_KEY"" http://schemas.microsoft.com/mapi/proptag/0x0C1D0102 "

"PR_SENDER_SEARCH_KEY" "http://schemas.microsoft.com/mapi/proptag/0x0C1D0102"

"PR_SENDER_ADDRTYPE"" http://schemas.microsoft.com/mapi/proptag/0x0C1E001E "

"PR_SENDER_ADDRTYPE" "http://schemas.microsoft.com/mapi/proptag/0x0C1E001E"

"PR_SENDER_EMAIL_ADDRESS"" http://schemas.microsoft.com/mapi/proptag/0x0C1F001E "

"PR_SENDER_EMAIL_ADDRESS" "http://schemas.microsoft.com/mapi/proptag/0x0C1F001E"

"PR_DISPLAY_BCC"" http://schemas.microsoft.com/mapi/proptag/0x0E02001E "

"PR_DISPLAY_BCC" "http://schemas.microsoft.com/mapi/proptag/0x0E02001E"

"PR_DISPLAY_CC"" http://schemas.microsoft.com/mapi/proptag/0x0E03001E "

"PR_DISPLAY_CC" "http://schemas.microsoft.com/mapi/proptag/0x0E03001E"

"PR_DISPLAY_TO"" http://schemas.microsoft.com/mapi/proptag/0x0E04001E "

"PR_DISPLAY_TO" "http://schemas.microsoft.com/mapi/proptag/0x0E04001E"

"PR_MESSAGE_DELIVERY_TIME" " http://schemas.microsoft.com /mapi/proptag/0x0E060040 "

"PR_MESSAGE_FLAGS"" http://schemas.microsoft.com/mapi/proptag/0x0E070003 "

"PR_MESSAGE_FLAGS" "http://schemas.microsoft.com/mapi/proptag/0x0E070003"

"PR_MESSAGE_SIZE"" http://schemas.microsoft.com/mapi/proptag/0x0E080003 "

"PR_MESSAGE_SIZE" "http://schemas.microsoft.com/mapi/proptag/0x0E080003"

"PR_PARENT_ENTRYID"" http://schemas.microsoft.com/mapi/proptag/0x0E090102 "

"PR_PARENT_ENTRYID" "http://schemas.microsoft.com/mapi/proptag/0x0E090102"

"PR_MESSAGE_RECIPIENTS"" http://schemas.microsoft.com/mapi/proptag/0x0E12000D "

"PR_MESSAGE_RECIPIENTS" "http://schemas.microsoft.com/mapi/proptag/0x0E12000D"

"PR_MESSAGE_ATTACHMENTS"" http://schemas.microsoft.com/mapi/proptag/0x0E13000D "

"PR_MESSAGE_ATTACHMENTS" "http://schemas.microsoft.com/mapi/proptag/0x0E13000D"

"PR_HASATTACH"" http://schemas.microsoft.com/mapi/proptag/0x0E1B000B "

"PR_HASATTACH" "http://schemas.microsoft.com/mapi/proptag/0x0E1B000B"

"PR_NORMALIZED_SUBJECT"" http://schemas.microsoft.com/mapi/proptag/0x0E1D001E "

"PR_NORMALIZED_SUBJECT" "http://schemas.microsoft.com/mapi/proptag/0x0E1D001E"

"PR_RTF_IN_SYNC"" http://schemas.microsoft.com/mapi/proptag/0x0E1F000B "

"PR_RTF_IN_SYNC" "http://schemas.microsoft.com/mapi/proptag/0x0E1F000B"

"PR_PRIMARY_SEND_ACCT"" http://schemas.microsoft.com/mapi/proptag/0x0E28001E "

"PR_PRIMARY_SEND_ACCT" "http://schemas.microsoft.com/mapi/proptag/0x0E28001E"

"PR_NEXT_SEND_ACCT"" http://schemas.microsoft.com/mapi/proptag/0x0E29001E "

"PR_NEXT_SEND_ACCT" "http://schemas.microsoft.com/mapi/proptag/0x0E29001E"

"PR_ACCESS"" http://schemas.microsoft.com/mapi/proptag/0x0FF40003 "

"PR_ACCESS" "http://schemas.microsoft.com/mapi/proptag/0x0FF40003"

"PR_ACCESS_LEVEL"" http://schemas.microsoft.com/mapi/proptag/0x0FF70003 "

"PR_ACCESS_LEVEL" "http://schemas.microsoft.com/mapi/proptag/0x0FF70003"

"PR_MAPPING_SIGNATURE"" http://schemas.microsoft.com/mapi/proptag/0x0FF80102 "

"PR_MAPPING_SIGNATURE" "http://schemas.microsoft.com/mapi/proptag/0x0FF80102"

"PR_RECORD_KEY"" http://schemas.microsoft.com/mapi/proptag/0x0FF90102 "

"PR_RECORD_KEY" "http://schemas.microsoft.com/mapi/proptag/0x0FF90102"

"PR_STORE_RECORD_KEY"" http://schemas.microsoft.com/mapi/proptag/0x0FFA0102 "

"PR_STORE_RECORD_KEY" "http://schemas.microsoft.com/mapi/proptag/0x0FFA0102"

"PR_STORE_ENTRYID"" http://schemas.microsoft.com/mapi/proptag/0x0FFB0102 "

"PR_STORE_ENTRYID" "http://schemas.microsoft.com/mapi/proptag/0x0FFB0102"

"PR_OBJECT_TYPE"" http://schemas.microsoft.com/mapi/proptag/0x0FFE0003 "

"PR_OBJECT_TYPE" "http://schemas.microsoft.com/mapi/proptag/0x0FFE0003"

"PR_ENTRYID"" http://schemas.microsoft.com/mapi/proptag/0x0FFF0102 "

"PR_ENTRYID" "http://schemas.microsoft.com/mapi/proptag/0x0FFF0102"

"PR_BODY"" http://schemas.microsoft.com/mapi/proptag/0x1000001E "

"PR_BODY" "http://schemas.microsoft.com/mapi/proptag/0x1000001E"

"PR_RTF_COMPRESSED"" http://schemas.microsoft.com/mapi/proptag/0x10090102 "

"PR_RTF_COMPRESSED" "http://schemas.microsoft.com/mapi/proptag/0x10090102"

"PR_HTML"" http://schemas.microsoft.com/mapi/proptag/0x10130102 "

"PR_HTML" "http://schemas.microsoft.com/mapi/proptag/0x10130102"

"PR_INTERNET_MESSAGE_ID"" http://schemas.microsoft.com/mapi/proptag/0x1035001E "

"PR_INTERNET_MESSAGE_ID" "http://schemas.microsoft.com/mapi/proptag/0x1035001E"

"PR_LIST_UNSUBSCRIBE"" http://schemas.microsoft.com/mapi/proptag/0x1045001E "

"PR_LIST_UNSUBSCRIBE" "http://schemas.microsoft.com/mapi/proptag/0x1045001E"

"N/A"" http://schemas.microsoft.com/mapi/proptag/0x1046001E "

"PR_CREATION_TIME"" http://schemas.microsoft.com/mapi/proptag/0x30070040 "

"PR_CREATION_TIME" "http://schemas.microsoft.com/mapi/proptag/0x30070040"

"PR_LAST_MODIFICATION_TIME"" http://schemas.microsoft.com/mapi/proptag/0x30080040 "

"PR_LAST_MODIFICATION_TIME" "http://schemas.microsoft.com/mapi/proptag/0x30080040"

"PR_SEARCH_KEY"" http://schemas.microsoft.com/mapi/proptag/0x300B0102 "

"PR_SEARCH_KEY" "http://schemas.microsoft.com/mapi/proptag/0x300B0102"

"PR_STORE_SUPPORT_MASK"" http://schemas.microsoft.com/mapi/proptag/0x340D0003 "

"PR_STORE_SUPPORT_MASK" "http://schemas.microsoft.com/mapi/proptag/0x340D0003"

不适用"" http://schemas.microsoft.com/mapi/proptag/0x340F0003 "

"PR_MDB_PROVIDER"" http://schemas.microsoft.com/mapi/proptag/0x34140102 "

"PR_MDB_PROVIDER" "http://schemas.microsoft.com/mapi/proptag/0x34140102"

"PR_INTERNET_CPID"" http://schemas.microsoft.com/mapi/proptag/0x3FDE0003 "

"PR_INTERNET_CPID" "http://schemas.microsoft.com/mapi/proptag/0x3FDE0003"

"SideEffects"" http://schemas.microsoft.com/mapi/proptag/0x80050003 "

"SideEffects" "http://schemas.microsoft.com/mapi/proptag/0x80050003"

"InetAcctID"" http://schemas.microsoft.com/mapi/proptag/0x802A001E "

"InetAcctID" "http://schemas.microsoft.com/mapi/proptag/0x802A001E"

"InetAcctName"" http://schemas.microsoft.com/mapi/proptag/0x804F001E "

"InetAcctName" "http://schemas.microsoft.com/mapi/proptag/0x804F001E"

"RemoteEID"" http://schemas.microsoft.com/mapi/proptag/0x80660102 "

"RemoteEID" "http://schemas.microsoft.com/mapi/proptag/0x80660102"

"x-rcpt-to"" http://schemas.microsoft.com/mapi/proptag/0x80AD001E "

"x-rcpt-to" "http://schemas.microsoft.com/mapi/proptag/0x80AD001E"

这篇关于消息日期属性的架构名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆