OUTLOOK VBA オブジェクトまとめ Store オブジェクト補足2 未完のSearchFolder

##前回からの流れ
[OUTLOOK VBA オブジェクトまとめ](http://qiita.com/Q11Q/items/ac14d96c00e707de5d13)

[OUTLOOK VBA 検索に関するリンクのまとめ](http://qiita.com/Q11Q/items/e9faed067e3519cad2e9)
[OUTLOOK VBA オブジェクトまとめ Store オブジェクト補足 StoreオブジェクトはVBSで使用できる](http://qiita.com/Q11Q/items/c42099d1365a2f8a6298)
今回はこの続きですが
今回のあとの続きがこちらです
[OUTLOOK VBA オブジェクトまとめ Store オブジェクト補足2 未完のSearchFolder](http://qiita.com/Q11Q/items/476fd5c6c5d54d65e19e)
[OUTLOOK VBA オブジェクトまとめ Store オブジェクト補足3 SearchFolderを別角度から](http://qiita.com/Q11Q/items/1f1199a3faefd8978d86)

##前置きすると挫折します
とりあえず挫折する理由はあとからわかるでしょう
結論から言うと、いったんEXCELかACCESSのテーブルにする方が速そうです
1.アクセスのDBを作ります。
2.[ACCESS VBA OutLookのメールのプロパティをテーブルに記録するマクロを改造する（2） How to make Mail Property access table](http://qiita.com/Q11Q/items/669d56af1d90fed48fa6)
でまずtest2というテーブルを作ります。
3.自分がリストを作りたいフォルダ(例：保存先の受信トレイ)を開きます
4.MakeOlMailLisを実行し、できたテーブルにクエリで絞り込んでリストを作り、Excelにエクスポートする方法です。

##現在発見されているSearchFolderを作るマクロVBA

たとえば Qita@Domain と　my@Domainでやり取りしているとします。
そうすると受信トレイにQita@DomainのDisplayNameが表示され受け取ったメールが表示されています。
これを選択(マウスでクリックして反転表示)して、このマクロを起動するとそのアドレスとの一連の送受信のメールアイテムを検索フォルダに一括表示するマクロです。
これはSlip Slick Systemsが公開しているマクロですが、日本語用にカスタマイズしないと動きません。

[Use VBA to create an Outlook Search Folder for Sender - Slip Slick Systems](https://www.slipstick.com/developer/create-an-outlook-search-folder-using-vba/) 

```vbnet:SearchFolderForSender.BAS

Sub SearchFolderForSender()

On Error GoTo Err_SearchFolderForSender
Dim strFrom As String
Dim strTo As String

' get the name & email address from a selected message
Dim oMail As Outlook.MailItem
Dim strDASLFilter As String
Dim strScope As String
Set oMail = ActiveExplorer.Selection.Item(1)

strFrom = oMail.SenderEmailAddress
strTo = oMail.SenderName
If strFrom = "" Then Exit Sub


' From & To fields
Const From1 As String = "http://schemas.microsoft.com/mapi/proptag/0x0065001f"
Const From2 As String = "http://schemas.microsoft.com/mapi/proptag/0x0042001f"
Const To1 As String = "http://schemas.microsoft.com/mapi/proptag/0x0e04001f"
Const To2 As String = "http://schemas.microsoft.com/mapi/proptag/0x0e03001f"

strDASLFilter = "((""" & From1 & """ CI_STARTSWITH '" & strFrom & "' OR """ & From2 & """ CI_STARTSWITH '" & strFrom & "')" & _
" OR (""" & To1 & """ CI_STARTSWITH '" & strFrom & "' OR """ & To2 & """ CI_STARTSWITH '" & strFrom & "' OR """ & To1 & """ CI_STARTSWITH '" & strTo & "' OR """ & To2 & """ CI_STARTSWITH '" & strTo & "' ))"

Debug.Print strDASLFilter


strScope = "'受信トレイ', '送信済みアイテム'"

Dim objSearch As Search
Set objSearch = Application.AdvancedSearch(Scope:=strScope, Filter:=strDASLFilter, SearchSubFolders:=True, Tag:="SearchFolder")

'Save the search results to a searchfolder
objSearch.Save (strTo)
Set objSearch = Nothing
Exit Sub

Err_SearchFolderForSender:
MsgBox "Error # " & Err & " : " & Error(Err)

End Sub
```

###カスタマイズ
strScope = "'受信トレイ', '送信済みアイテム'"の部分は日本語用にフォルダ名を日本語仕様にしています。


##発見されているマクロその2
 - 上記と同様にメールを一つクリックして選択します。
 - このVBAマクロは長く複雑なので独立したモジュール（つまり標準モジュールを１つ作成する）にペーストした方がよいでしょう。
 -  GetCurrentMailInfoUsingPropertyTagSyntaxを起動します。
 - プロパティを抜き出して、メールの下書きを作り出力します。
 - Office 2007以降で動きます
[Outlook VBA Script that gets info on currently selected email using Property Tag Syntax](http://www.gregthatcher.com/Scripts/VBA/Outlook/GetEmailInfoUsingPropertyTagSyntax.aspx)

```vbnet:GetCurrentMailInfoUsingPropertyTagSyntax。BAS
' VBA Script that gets info on the currently selected email using 'Property Tag Syntax'
' (see other scripts a http://www.GregThatcher.com for other ways to get email properties)
' Property Tag Syntax is used for Outlook Properties (defined by Outlook Object Model)
' as opposed to Named Mapi Properties (defined by Outlook, but only exist if Outlook has added that property to the item of interest)
' or UserProperties (visible to users, and can be added dynamically to an item) or Named Properties (not visible users, can be added dynamically)
' Use Tools->Macro->Security to allow Macros to run, then restart Outlook
' Run Outlook, Press Alt+F11 to open VBA
' Programming by Greg Thatcher, http://www.GregThatcher.com
' THIS SCRIPT WILL ONLY RUN ON OUTLOOK 2007 OR LATER (it won't work on Outlook 2003)

' Types of Properties
Const PT_BOOLEAN As String = "000B"
Const PT_BINARY As String = "0102"
Const PT_MV_BINARY As String = "1102"
Const PT_DOUBLE As String = "0005"
Const PT_LONG As String = "0003"
Const PT_OBJECT As String = "000D"
Const PT_STRING8 As String = "001E"
Const PT_MV_STRING8 As String = "101E"
Const PT_SYSTIME As String = "0040"
Const PT_UNICODE As String = "001F"
Const PT_MV_UNICODE As String = "101F"

Public Sub GetCurrentMailInfoUsingPropertyTagSyntax()
    Dim Session As Outlook.NameSpace
    Dim currentExplorer As Explorer
    Dim Selection As Selection
    Dim currentItem As Object
    Dim currentMail As MailItem
    Dim report As String
    Dim propertyAccessor As Outlook.propertyAccessor
    
    Set currentExplorer = Application.ActiveExplorer
    Set Selection = currentExplorer.Selection
    
    'for all items do...
    For Each currentItem In Selection
        If currentItem.Class = olMail Then
            Set currentMail = currentItem
            
            Set propertyAccessor = currentMail.propertyAccessor
    
            report = report & AddToReportIfNotBlank("PR_MESSAGE_CLASS", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x001A" & PT_STRING8)) & vbCrLf
    
            report = report & AddToReportIfNotBlank("PR_SUBJECT", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0037" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_CLIENT_SUBMIT_TIME", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0039" & PT_SYSTIME)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_SENT_REPRESENTING_SEARCH_KEY", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x003B" & PT_BINARY))) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_SUBJECT_PREFIX PT_STRING8", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x003D" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_RECEIVED_BY_ENTRYID", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x003F" & PT_BINARY))) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_RECEIVED_BY_NAME", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0040" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_SENT_REPRESENTING_ENTRYID", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0041" & PT_BINARY))) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_SENT_REPRESENTING_NAME", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0042" & PT_STRING8)) & vbCrLf
            'report = report & AddToReportIfNotBlank("PR_REPLY_RECIPIENT_ENTRIES", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x004F" & PT_BINARY))) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_REPLY_RECIPIENT_NAMES", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0050" & PT_STRING8)) & vbCrLf
    
            report = report & AddToReportIfNotBlank("PR_RECEIVED_BY_SEARCH_KEY", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0051" & PT_BINARY))) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_SENT_REPRESENTING_ADDRTYPE", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0064" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_SENT_REPRESENTING_EMAIL_ADDRESS", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0065" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_CONVERSATION_TOPIC", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0070" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_CONVERSATION_INDEX", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0071" & PT_BINARY))) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_RECEIVED_BY_ADDRTYPE", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0075" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_RECEIVED_BY_EMAIL_ADDRESS", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0076" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_TRANSPORT_MESSAGE_HEADERS", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x007D" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_SENDER_ENTRYID", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0C19" & PT_BINARY))) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_SENDER_NAME", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0C1A" & PT_STRING8)) & vbCrLf
    
            report = report & AddToReportIfNotBlank("PR_SENDER_SEARCH_KEY", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0C1D" & PT_BINARY))) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_SENDER_ADDRTYPE", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0C1E" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_SENDER_EMAIL_ADDRESS", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0C1F" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_DISPLAY_BCC", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0E02" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_DISPLAY_CC", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0E03" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_DISPLAY_TO", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0E04" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_MESSAGE_DELIVERY_TIME", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0E06" & PT_SYSTIME)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_MESSAGE_FLAGS", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0E07" & PT_LONG)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_MESSAGE_SIZE", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0E08" & PT_LONG)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_PARENT_ENTRYID", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0E09" & PT_BINARY))) & vbCrLf
    
            'report = report & AddToReportIfNotBlank("PR_MESSAGE_RECIPIENTS", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0E12" & PT_OBJECT)) & vbCrLf
            'report = report & AddToReportIfNotBlank("PR_MESSAGE_ATTACHMENTS", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0E13" & PT_OBJECT)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_HASATTACH", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0E1B" & PT_BOOLEAN)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_NORMALIZED_SUBJECT", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0E1D" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_RTF_IN_SYNC", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0E1F" & PT_BOOLEAN)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_PRIMARY_SEND_ACCT", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0E28" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_NEXT_SEND_ACCT", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0E29" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_ACCESS", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0FF4" & PT_LONG)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_ACCESS_LEVEL", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0FF7" & PT_LONG)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_MAPPING_SIGNATURE", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0FF8" & PT_BINARY))) & vbCrLf
    
            report = report & AddToReportIfNotBlank("PR_RECORD_KEY", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0FF9" & PT_BINARY))) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_STORE_RECORD_KEY", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0FFA" & PT_BINARY))) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_STORE_ENTRYID", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0FFB" & PT_BINARY))) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_OBJECT_TYPE", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0FFE" & PT_LONG)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_ENTRYID", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x0FFF" & PT_BINARY))) & vbCrLf
            'report = report & AddToReportIfNotBlank("PR_BODY", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x1000" & PT_STRING8)) & vbCrLf
            'report = report & AddToReportIfNotBlank("PR_RTF_COMPRESSED", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x1009" & PT_BINARY))) & vbCrLf
            'report = report & AddToReportIfNotBlank("PR_HTML", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x1013" & PT_BINARY))) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_INTERNET_MESSAGE_ID", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x1035" & PT_STRING8)) & vbCrLf
            'report = report & AddToReportIfNotBlank("PR_LIST_UNSUBSCRIBE", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x1045" & PT_STRING8)) & vbCrLf
    
            'report = report & AddToReportIfNotBlank("N/A", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x1046" & PT_STRING8)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_CREATION_TIME", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x3007" & PT_SYSTIME)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_LAST_MODIFICATION_TIME", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x3008" & PT_SYSTIME)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_SEARCH_KEY", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x300B" & PT_BINARY))) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_STORE_SUPPORT_MASK", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x340D" & PT_LONG)) & vbCrLf
            report = report & AddToReportIfNotBlank("N/A", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x340F" & PT_LONG)) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_MDB_PROVIDER", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x3414" & PT_BINARY))) & vbCrLf
            report = report & AddToReportIfNotBlank("PR_INTERNET_CPID", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x3FDE" & PT_LONG)) & vbCrLf
            'report = report & AddToReportIfNotBlank("SideEffects", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x8005" & PT_LONG)) & vbCrLf
            'report = report & AddToReportIfNotBlank("InetAcctID", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x802A" & PT_STRING8)) & vbCrLf
            'report = report & AddToReportIfNotBlank("InetAcctName", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x804F" & PT_STRING8)) & vbCrLf
            'report = report & AddToReportIfNotBlank("RemoteEID", propertyAccessor.BinaryToString(propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x8066" & PT_BINARY))) & vbCrLf
            'report = report & AddToReportIfNotBlank("x-rcpt-to", propertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x80AD" & PT_STRING8)) & vbCrLf

            
        End If
    Next
    
    Call CreateReportAsEmail("Email properties from PropertyAccessor using Property Tag Syntax", report)
End Sub


Private Function AddToReportIfNotBlank(FieldName As String, FieldValue As String)
    AddToReportIfNotBlank = ""
    If (FieldValue <> "") Then
        AddToReportIfNotBlank = FieldName & " : " & FieldValue & vbCrLf
    End If
    
End Function

' VBA SubRoutine which displays a report inside an email
' Programming by Greg Thatcher, http://www.GregThatcher.com
Public Sub CreateReportAsEmail(Title As String, report As String)
    On Error GoTo On_Error

    Dim Session As Outlook.NameSpace
    Dim mail As MailItem
    Dim MyAddress As AddressEntry
    Dim Inbox

    Set Session = Application.Session
    Set Inbox = Session.GetDefaultFolder(olFolderInbox)
    Set mail = Inbox.Items.Add("IPM.Mail")

    mail.Subject = Title
    mail.Body = report

    mail.Save
    mail.Display
    

Exiting:
        Set Session = Nothing
        Exit Sub

On_Error:
    MsgBox "error=" & Err.Number & " " & Err.Description
    Resume Exiting

End Sub
```


##解析
 ###スィッチについて
[文字列を比較してアイテムをフィルターにかける](https://msdn.microsoft.com/ja-jp/library/office/ff867646.aspx)


```vbnet
sFilter = "[CompanyName] = 'Microsoft'"
sFilter = "[CompanyName] = " & Chr(34) & "Microsoft" & Chr(34)
'エスケープ文字が3つ
'http://schemas.microsoft.com/mapi/proptag/0x0037001f のプロパティ参照開始と終了の二重引用符
'単語 can't の値の条件に含まれるアポストロフィ
filter = "@SQL=""http://schemas.microsoft.com/mapi/proptag/0x0037001f"" = 'can''t'"
filter = "@SQL= " & Chr(34) & "http://schemas.microsoft.com/mapi/proptag/0x0037001f" _
    & Chr(34) & " = " & "'can''t'"
'DASL クエリを ci_startswith 演算子または ci_phrasematch 演算子と共に使用する場合も、単一引用符と二重引用符をエスケープする必要があります。
'たとえば、次のクエリは、メッセージの件名で can't の語句一致クエリを実行します。 
filter = "@SQL=" & Chr(34) & "http://schemas.microsoft.com/mapi/proptag/0x0037001E" _
    & Chr(34) & " ci_phrasematch " & "'can''t'"
'Subject でthe right stuff という文字列と一致し、 stuff という語が二重引用符で囲まれているもの
'the right "stuff"の場合
'"stuff" --->> ""stuff""'" 
filter = "@SQL=""http://schemas.microsoft.com/mapi/proptag/0x0037001f"" = 'the right ""stuff""'"
'Mom's Gift というプロパティのpearlsが含まれている者
filter = "@SQL=" & Chr(34) & _
    "http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/" _
    & "Mom%27s%20%22Gift%22" & Chr(34) & " like '%pearls%'"

```


|  文字  |  escape character   |
|:------------------------:|:------------------------:|
|  スペース文字            |                     %20  |
|  二重引用符              |                       %22|
|  単一引用符              |             %27 |





##MAPI (Messaging Application Programming Interface) の名前空間

 - Outlook がサポートするプロパティの多くは MAPI プロパティです。
 - PropertyAccessor オブジェクトは、***proptag、id、および string という 3 つの MAPI 名前空間のサブ名前空間をサポート***します。
 - 次に示す各セクションでは、サブ名前空間についての説明、そのサブ名前空間でプロパティを参照するための形式についての説明、および Augmented Backus-Naur Form (ABNF) で表された構文の定義 [RFC4234] で指定) を示します。 


##Propidは人類が挫折する
少なくとも800種類もある
どうもこれはオブジェクトのプロパティごとに作られているらしく、それっぽいところに改行でスペースをいれてみた

[MAPI Properties ](https://msdn.microsoft.com/en-us/library/ms529939.aspx?ranMID=24542&ranEAID=TnL5HPStwNw&ranSiteID=TnL5HPStwNw-XnYRxg3kvnfTzU52lflrvQ&tduid=(b47e973dd431f43776edb53922074de9)(256380)(2459594)(TnL5HPStwNw-XnYRxg3kvnfTzU52lflrvQ)())


[PidLidAddressBookProviderArrayType Canonical Property](https://msdn.microsoft.com/en-us/library/cc842506(v=office.12).aspx)
[PidLidAddressBookProviderEmailList Canonical Property](https://msdn.microsoft.com/en-us/library/cc815590(v=office.12).aspx)
[PidLidAddressCountryCode Canonical Property](https://msdn.microsoft.com/en-us/library/cc765730(v=office.12).aspx)

[PidLidAgingDontAgeMe Canonical Property](https://msdn.microsoft.com/en-us/library/cc842362(v=office.12).aspx)

[PidLidAllAttendeesString Canonical Property]

[PidLidAnniversaryEventEntryId Canonical Property]
[PidLidAppointmentAuxiliaryFlags Canonical Property]
[PidLidAppointmentColor Canonical Property]
[PidLidAppointmentCounterProposal Canonical Property]
[PidLidAppointmentDuration Canonical Property]
[PidLidAppointmentEndWhole Canonical Property]
[PidLidAppointmentLastSequence Canonical Property]
[PidLidAppointmentMessageClass Canonical Property]
[PidLidAppointmentNotAllowPropose Canonical Property]
[PidLidAppointmentProposalNumber Canonical Property]
[PidLidAppointmentProposedDuration Canonical Property]
[PidLidAppointmentProposedEndWhole Canonical Property]
[PidLidAppointmentProposedStartWhole Canonical Property]
[PidLidAppointmentRecur Canonical Property]
[PidLidAppointmentReplyName Canonical Property]
[PidLidAppointmentReplyTime Canonical Property]
[PidLidAppointmentSequence Canonical Property]
[PidLidAppointmentSequenceTime Canonical Property]
[PidLidAppointmentStartWhole Canonical Property]
[PidLidAppointmentStateFlags Canonical Property]
[PidLidAppointmentSubType Canonical Property]
[PidLidAppointmentTimeZoneDefinitionEndDisplay Canonical Property]
[PidLidAppointmentTimeZoneDefinitionRecur Canonical Property]
[PidLidAppointmentTimeZoneDefinitionStartDisplay Canonical Property]
[PidLidAppointmentUnsendableRecipients Canonical Property]

[PidLidAttendeeCriticalChange Canonical Property]
[PidLidAutoFillLocation Canonical Property]
[PidLidAutoLog Canonical Property]
[PidLidAutoProcessState Canonical Property]
[PidLidBilling Canonical Property]
[PidLidBirthdayEventEntryId Canonical Property]
[PidLidBusinessCardCardPicture Canonical Property]
[PidLidBusinessCardDisplayDefinition Canonical Property]
[PidLidBusyStatus Canonical Property]
[PidLidCalendarType Canonical Property]
[PidLidCategories Canonical Property]
[PidLidCcAttendeesString Canonical Property]
[PidLidChangeHighlight Canonical Property]
[PidLidClassification Canonical Property]
[PidLidClassificationDescription Canonical Property]
[PidLidClassificationGuid Canonical Property]
[PidLidClassificationKeep Canonical Property]
[PidLidClassified Canonical Property]
[PidLidCleanGlobalObjectId Canonical Property]
[PidLidClipEnd Canonical Property]
[PidLidClipStart Canonical Property]
[PidLidCommonEnd Canonical Property]

[PidLidCommonStart Canonical Property]
[PidLidCompanies Canonical Property]

[PidLidContactCharacterSet Canonical Property]
[PidLidContactItemData Canonical Property]
[PidLidContactLinkEntry Canonical Property]
[PidLidContactLinkName Canonical Property]
[PidLidContactLinkSearchKey Canonical Property]
[PidLidContacts Canonical Property]
[PidLidContactUserField1 Canonical Property]
[PidLidContactUserField2 Canonical Property]
[PidLidContactUserField3 Canonical Property]
[PidLidContactUserField4 Canonical Property]

[PidLidCurrentVersion Canonical Property]
[PidLidCurrentVersionName Canonical Property]

[PidLidDistributionListChecksum Canonical Property]
[PidLidDistributionListMembers Canonical Property]
[PidLidDistributionListName Canonical Property]
[PidLidDistributionListOneOffMembers Canonical Property]

[PidLidEmail1AddressType Canonical Property]
[PidLidEmail1DisplayName Canonical Property]
[PidLidEmail1EmailAddress Canonical Property]
[PidLidEmail1OriginalDisplayName Canonical Property]
[PidLidEmail1OriginalEntryId Canonical Property]
[PidLidEmail2AddressType Canonical Property]
[PidLidEmail2DisplayName Canonical Property]
[PidLidEmail2EmailAddress Canonical Property]
[PidLidEmail2OriginalDisplayName Canonical Property]
[PidLidEmail2OriginalEntryId Canonical Property]
[PidLidEmail3AddressType Canonical Property]
[PidLidEmail3DisplayName Canonical Property]
[PidLidEmail3EmailAddress Canonical Property]
[PidLidEmail3OriginalDisplayName Canonical Property]
[PidLidEmail3OriginalEntryId Canonical Property]

[PidLidExceptionReplaceTime Canonical Property]

[PidLidFax1AddressType Canonical Property]
[PidLidFax1DisplayName Canonical Property]
[PidLidFax1EmailAddress Canonical Property]
[PidLidFax1EmailType Canonical Property]
[PidLidFax1EntryId Canonical Property]
[PidLidFax1OriginalDisplayName Canonical Property]
[PidLidFax1OriginalEntryId Canonical Property]
[PidLidFax1RichTextFormat Canonical Property]
[PidLidFax2AddressType Canonical Property]
[PidLidFax2DisplayName Canonical Property]
[PidLidFax2EmailAddress Canonical Property]
[PidLidFax2EmailType Canonical Property]
[PidLidFax2EntryId Canonical Property]
[PidLidFax2OriginalDisplayName Canonical Property]
[PidLidFax2OriginalEntryId Canonical Property]
[PidLidFax2RichTextFormat Canonical Property]
[PidLidFax3AddressType Canonical Property]
[PidLidFax3DisplayName Canonical Property]
[PidLidFax3EmailAddress Canonical Property]
[PidLidFax3EmailType Canonical Property]
[PidLidFax3EntryId Canonical Property]
[PidLidFax3OriginalDisplayName Canonical Property]
[PidLidFax3OriginalEntryId Canonical Property]
[PidLidFax3RichTextFormat Canonical Property]

[PidLidFExceptionalAttendees Canonical Property]
[PidLidFExceptionalBody Canonical Property]

[PidLidFileUnder Canonical Property]
[PidLidFileUnderId Canonical Property]
[PidLidFileUnderList Canonical Property]

[PidLidFInvited Canonical Property]
[PidLidFlagRequest Canonical Property]
[PidLidFlagString Canonical Property]
[PidLidForwardInstance Canonical Property]
[PidLidFreeBusyLocation Canonical Property]
[PidLidGlobalObjectId Canonical Property]
[PidLidHasPicture Canonical Property]
[PidLidHomeAddress Canonical Property]
[PidLidHomeAddressCountryCode Canonical Property]
[PidLidHtml Canonical Property]
[PidLidInstantMessagingAddress Canonical Property]
[PidLidIntendedBusyStatus Canonical Property]
[PidLidInternetAccountName Canonical Property]
[PidLidInternetAccountStamp Canonical Property]
[PidLidIsException Canonical Property]
[PidLidIsRecurring Canonical Property]
[PidLidIsSilent Canonical Property]
[PidLidLinkedTaskItems Canonical Property]
[PidLidLocation Canonical Property]
[PidLidLogDocumentPosted Canonical Property]
[PidLidLogDocumentPrinted Canonical Property]
[PidLidLogDocumentRouted Canonical Property]
[PidLidLogDocumentSaved Canonical Property]
[PidLidLogDuration Canonical Property]
[PidLidLogEnd Canonical Property]
[PidLidLogFlags Canonical Property]
[PidLidLogStart Canonical Property]
[PidLidLogType Canonical Property]
[PidLidLogTypeDesc Canonical Property]
[PidLidMeetingType Canonical Property]
[PidLidMeetingWorkspaceUrl Canonical Property]
[PidLidMileage Canonical Property]
[PidLidNonSendableBcc Canonical Property]
[PidLidNonSendableCc Canonical Property]
[PidLidNonSendableTo Canonical Property]
[PidLidNonSendableBccTrackStatus Canonical Property]
[PidLidNonSendCcTrackStatus Canonical Property]
[PidLidNonSendToTrackStatus Canonical Property]
[PidLidNoteColor Canonical Property]
[PidLidNoteHeight Canonical Property]
[PidLidNoteWidth Canonical Property]
[PidLidNoteX Canonical Property]
[PidLidNoteY Canonical Property]
[PidLidOldLocation Canonical Property]
[PidLidOldWhenEndWhole Canonical Property]
[PidLidOldWhenStartWhole Canonical Property]
[PidLidOriginalStoreEntryId Canonical Property]
[PidLidOtherAddress Canonical Property]
[PidLidOtherAddressCountryCode Canonical Property]
[PidLidOwnerCriticalChange Canonical Property]
[PidLidPercentComplete Canonical Property]
[PidLidPostalAddressId Canonical Property]
[PidLidPostRssChannel Canonical Property]
[PidLidPostRssChannelLink Canonical Property]
[PidLidPrivate Canonical Property]

[PidLidRecurrencePattern Canonical Property]
[PidLidRecurrenceType Canonical Property]
[PidLidRecurring Canonical Property]
[PidLidReferenceEntryId Canonical Property]

[PidLidReminderDelta Canonical Property]
[PidLidReminderFileParameter Canonical Property]
[PidLidReminderOverride Canonical Property]
[PidLidReminderPlaySound Canonical Property]
[PidLidReminderSet Canonical Property]
[PidLidReminderSignalTime Canonical Property]
[PidLidReminderTime Canonical Property]

[PidLidResponseStatus Canonical Property]
[PidLidSendMeetingAsIcal Canonical Property]
[PidLidSharingCapabilities Canonical Property]
[PidLidSharingConfigurationUrl Canonical Property]
[PidLidSharingFlavor Canonical Property]
[PidLidSharingInitiatorEntryId Canonical Property]
[PidLidSharingInitiatorName Canonical Property]
[PidLidSharingInitiatorSmtp Canonical Property]
[PidLidSharingLocalType Canonical Property]
[PidLidSharingProviderGuid Canonical Property]
[PidLidSharingProviderName Canonical Property]
[PidLidSharingProviderUrl Canonical Property]
[PidLidSharingRemoteName Canonical Property]
[PidLidSharingRemoteStoreUid Canonical Property]
[PidLidSharingRemoteType Canonical Property]
[PidLidSharingRemoteUid Canonical Property]
[PidLidSharingResponseTime Canonical Property]
[PidLidSharingResponseType Canonical Property]

[PidLidSideEffects Canonical Property]

[PidLidSmartNoAttach Canonical Property]

[PidLidSpamOriginalFolder Canonical Property]

[PidLidTaskAcceptanceState Canonical Property]
[PidLidTaskAccepted Canonical Property]
[PidLidTaskActualEffort Canonical Property]
[PidLidTaskAssigner Canonical Property]
[PidLidTaskAssigners Canonical Property]
[PidLidTaskComplete Canonical Property]
[PidLidTaskDateCompleted Canonical Property]
[PidLidTaskDeadOccurrence Canonical Property]
[PidLidTaskDueDate Canonical Property]
[PidLidTaskEstimatedEffort Canonical Property]
[PidLidTaskFCreator Canonical Property]
[PidLidTaskFFixOffline Canonical Property]
[PidLidTaskFRecurring Canonical Property]
[PidLidTaskGlobalId Canonical Property]
[PidLidTaskHistory Canonical Property]
[PidLidTaskLastDelegate Canonical Property]
[PidLidTaskLastUpdate Canonical Property]
[PidLidTaskLastUser Canonical Property]
[PidLidTaskMode Canonical Property]
[PidLidTaskMultipleRecipients Canonical Property]
[PidLidTaskOrdinal Canonical Property]
[PidLidTaskOwner Canonical Property]
[PidLidTaskOwnership Canonical Property]
[PidLidTaskRecurrence Canonical Property]
[PidLidTaskResetReminder Canonical Property]
[PidLidTaskStartDate Canonical Property]
[PidLidTaskState Canonical Property]
[PidLidTaskStatus Canonical Property]
[PidLidTaskStatusOnComplete Canonical Property]
[PidLidTaskUpdates Canonical Property]
[PidLidTaskVersion Canonical Property]

[PidLidTimeZone Canonical Property]
[PidLidTimeZoneDescription Canonical Property]
[PidLidTimeZoneStruct Canonical Property]

[PidLidToAttendeesString Canonical Property]
[PidLidToDoOrdinalDate Canonical Property]
[PidLidToDoSubOrdinal Canonical Property]
[PidLidToDoTitle Canonical Property]

[PidLidUserX509Certificate Canonical Property]
[PidLidUseTnef Canonical Property]
[PidLidValidFlagStringProof Canonical Property]
[PidLidVerbResponse Canonical Property]
[PidLidVerbStream Canonical Property]
[PidLidWhere Canonical Property]
[PidLidWorkAddress Canonical Property]
[PidLidWorkAddressCity Canonical Property]
[PidLidWorkAddressCountry Canonical Property]
[PidLidWorkAddressCountryCode Canonical Property]
[PidLidWorkAddressPostalCode Canonical Property]
[PidLidWorkAddressPostOfficeBox Canonical Property]
[PidLidWorkAddressState Canonical Property]
[PidLidWorkAddressStreet Canonical Property]
[PidLidYomiCompanyName Canonical Property]
[PidLidYomiFirstName Canonical Property]
[PidLidYomiLastName Canonical Property]

[PidNameAcceptLanguage Canonical Property]
[PidNameApplicationName Canonical Property]
[PidNameAttachmentMacContentType Canonical Property]
[PidNameAttachmentMacInfo Canonical Property]
[PidNameAudioNotes Canonical Property]
[PidNameAuthor Canonical Property]
[PidNameByteCount Canonical Property]
[PidNameCategory Canonical Property]
[PidNameCharacterCount Canonical Property]
[PidNameComments Canonical Property]
[PidNameCompany Canonical Property]
[PidNameContentBase Canonical Property]
[PidNameContentClass Canonical Property]
[PidNameContentTransferEncoding Canonical Property]
[PidNameContentType Canonical Property]
[PidNameCreateDateTimeReadOnly Canonical Property]
[PidNameCrossReference Canonical Property]
[PidNameEditTime Canonical Property]
[PidNameExchangeJunkEmailMoveStamp Canonical Property]
[PidNameHiddenCount Canonical Property]
[PidNameKeywords Canonical Property]
[PidNameLastAuthor Canonical Property]
[PidNameLastPrinted Canonical Property]
[PidNameLastSaveDateTime Canonical Property]
[PidNameLineCount Canonical Property]
[PidNameManager Canonical Property]
[PidNameMultimediaClipCount Canonical Property]
[PidNameNoteCount Canonical Property]
[PidNamePhishingStamp Canonical Property]
[PidNamePageCount Canonical Property]
[PidNameParagraphCount Canonical Property]
[PidNamePresentationFormat Canonical Property]
[PidNameRevisionNumber Canonical Property]
[PidNameRightsManagementLicense Canonical Property]
[PidNameSecurity Canonical Property]
[PidNameSlideCount Canonical Property]
[PidNameSubject Canonical Property]
[PidNameTemplate Canonical Property]
[PidNameTitle Canonical Property]
[PidNameWordCount Canonical Property]
[PidNameXSharingCapabilities Canonical Property]
[PidNameXSharingConfigUrl Canonical Property]
[PidNameXSharingFlavor Canonical Property]
[PidNameXSharingLocalType Canonical Property]
[PidNameXSharingProviderGuid Canonical Property]
[PidNameXSharingProviderName Canonical Property]
[PidNameXSharingProviderUrl Canonical Property]
[PidNameXSharingRemoteName Canonical Property]
[PidNameXSharingRemoteStoreUid Canonical Property]
[PidNameXSharingRemoteType Canonical Property]
[PidNameXSharingRemoteUid Canonical Property]

[PidTag7BitDisplayName Canonical Property]
[PidTagAbDefaultDir Canonical Property]
[PidTagAbDefaultPab Canonical Property]
[PidTagAbProviderId Canonical Property]
[PidTagAbProviders Canonical Property]
[PidTagAbSearchPath Canonical Property]
[PidTagAbSearchPathUpdate Canonical Property]
[PidTagAccess Canonical Property]
[PidTagAccessControlListTable Canonical Property]
[PidTagAccessLevel Canonical Property]
[PidTagAccount Canonical Property]
[PidTagAcknowledgementMode Canonical Property]
[PidTagAdditionalRenEntryIds Canonical Property]
[PidTagAdditionalRenEntryIdsEx Canonical Property]
[PidTagAddressType Canonical Property]
[PidTagAlternateRecipient Canonical Property]
[PidTagAlternateRecipientAllowed Canonical Property]
[PidTagAnr Canonical Property]
[PidTagAssistant Canonical Property]
[PidTagAssistantTelephoneNumber Canonical Property]
[PidTagAssociatedContentCount Canonical Property]
[PidTagAttachAdditionalInformation Canonical Property]
[PidTagAttachContentBase Canonical Property]
[PidTagAttachContentId Canonical Property]
[PidTagAttachContentLocation Canonical Property]
[PidTagAttachDataBinary Canonical Property]
[PidTagAttachDataObject Canonical Property]
[PidTagAttachEncoding Canonical Property]
[PidTagAttachExtension Canonical Property]
[PidTagAttachFilename Canonical Property]
[PidTagAttachFlags Canonical Property]
[PidTagAttachLongFilename Canonical Property]
[PidTagAttachLongPathname Canonical Property]
[PidTagAttachmentContactPhoto Canonical Property]
[PidTagAttachmentFlags Canonical Property]
[PidTagAttachmentHidden Canonical Property]
[PidTagAttachmentLinkId Canonical Property]
[PidTagAttachMethod Canonical Property]
[PidTagAttachMimeSequence Canonical Property]
[PidTagAttachMimeTag Canonical Property]
[PidTagAttachNumber Canonical Property]
[PidTagAttachPathname Canonical Property]
[PidTagAttachPayloadClass Canonical Property]
[PidTagAttachPayloadProviderGuidString Canonical Property]
[PidTagAttachRendering Canonical Property]
[PidTagAttachSize Canonical Property]
[PidTagAttachTag Canonical Property]
[PidTagAttachTransportName Canonical Property]
[PidTagAuthorizingUsers Canonical Property]
[PidTagAutoForwardComment Canonical Property]
[PidTagAutoForwarded Canonical Property]
[PidTagBirthday Canonical Property]
[PidTagBody Canonical Property]
[PidTagBodyContentLocation Canonical Property]
[PidTagBodyCrc Canonical Property]
[PidTagBodyHtml Canonical Property]
[PidTagBusiness2TelephoneNumber Canonical Property]
[PidTagBusiness2TelephoneNumbers Canonical Property]
[PidTagBusinessFaxNumber Canonical Property]
[PidTagBusinessHomePage Canonical Property]
[PidTagBusinessTelephoneNumber Canonical Property]
[PidTagCallbackTelephoneNumber Canonical Property]
[PidTagCarTelephoneNumber Canonical Property]
[PidTagChildrensNames Canonical Property]
[PidTagClientSubmitTime Canonical Property]
[PidTagComment Canonical Property]
[PidTagCommonViewsEntryId Canonical Property]
[PidTagCompanyMainTelephoneNumber Canonical Property]
[PidTagCompanyName Canonical Property]
[PidTagComputerNetworkName Canonical Property]
[PidTagConflictEntryId Canonical Property]

[PidTagContactAddressBookDisplayNames Canonical Property]
[PidTagContactAddressBookFolderEntryId Canonical Property]
[PidTagContactAddressBookFolderEntryIds Canonical Property]
[PidTagContactAddressBookFolderName Canonical Property]
[PidTagContactAddressBookFolderNames Canonical Property]
[PidTagContactAddressBookMultipleAddressFlag Canonical Property]
[PidTagContactAddressBookMultipleAddressFlags Canonical Property]
[PidTagContactAddressBookSortFlag Canonical Property]
[PidTagContactAddressBookStoreEntryIds Canonical Property]
[PidTagContactAddressBookStoreName Canonical Property]
[PidTagContactAddressBookStoreNames Canonical Property]
[PidTagContactAddressBookStoreSupportMask Canonical Property]
[PidTagContactAddressBookStoreSupportMasks Canonical Property]
[PidTagContactAddressBookUid Canonical Property]
[PidTagContactAddressTypes Canonical Property]
[PidTagContactVersion Canonical Property]
[PidTagContainerClass Canonical Property]
[PidTagContainerContents Canonical Property]
[PidTagContainerFlags Canonical Property]
[PidTagContainerHierarchy Canonical Property]
[PidTagContentConfidentialityAlgorithmId Canonical Property]
[PidTagContentCorrelator Canonical Property]
[PidTagContentCount Canonical Property]
[PidTagContentIdentifier Canonical Property]
[PidTagContentIntegrityCheck Canonical Property]
[PidTagContentLength Canonical Property]
[PidTagContentReturnRequested Canonical Property]
[PidTagContentUnreadCount Canonical Property]

[PidTagControlFlags Canonical Property]
[PidTagControlId Canonical Property]
[PidTagControlStructure Canonical Property]
[PidTagControlType Canonical Property]

[PidTagConversationIndex Canonical Property]
[PidTagConversationTopic Canonical Property]
[PidTagConversionEits Canonical Property]
[PidTagConversionProhibited Canonical Property]
[PidTagConversionWithLossProhibited Canonical Property]

[PidTagConvertedEits Canonical Property]

[PidTagCorrelate Canonical Property]
[PidTagCorrelateMtsid Canonical Property]

[PidTagCountry Canonical Property]
[PidTagCreateTemplates Canonical Property]
[PidTagCreationTime Canonical Property]
[PidTagCustomerId Canonical Property]
[PidTagDefaultPostMessageClass Canonical Property]
[PidTagDefaultProfile Canonical Property]
[PidTagDefaultStore Canonical Property]
[PidTagDefaultViewEntryId Canonical Property]
[PidTagDefCreateDl Canonical Property]
[PidTagDefCreateMailuser Canonical Property]
[PidTagDeferredDeliveryTime Canonical Property]
[PidTagDeferredSendNumber Canonical Property]
[PidTagDeferredSendTime Canonical Property]
[PidTagDeferredSendUnits Canonical Property]
[PidTagDelegatedByRule Canonical Property]
[PidTagDelegateFlags Canonical Property]
[PidTagDeleteAfterSubmit Canonical Property]
[PidTagDeliverTime Canonical Property]
[PidTagDeliveryPoint Canonical Property]
[PidTagDeltaX Canonical Property]
[PidTagDeltaY Canonical Property]
[PidTagDepartmentName Canonical Property]
[PidTagDepth Canonical Property]
[PidTagDetailsTable Canonical Property]
[PidTagDiscardReason Canonical Property]
[PidTagDisclosureOfRecipients Canonical Property]
[PidTagDiscreteValues Canonical Property]
[PidTagDisplayBcc Canonical Property]
[PidTagDisplayCc Canonical Property]
[PidTagDisplayName Canonical Property]
[PidTagDisplayNamePrefix Canonical Property]
[PidTagDisplayTo Canonical Property]
[PidTagDisplayType Canonical Property]
[PidTagDisplayTypeEx Canonical Property]
[PidTagDistributionListExpansionHistory Canonical Property]
[PidTagDistributionListExpansionProhibited Canonical Property]
[PidTagEmailAddress Canonical Property]
[PidTagEndDate Canonical Property]
[PidTagEntryId Canonical Property]
[PidTagExceptionEndTime Canonical Property]
[PidTagExceptionReplaceTime Canonical Property]
[PidTagExceptionStartTime Canonical Property]
[PidTagExpiryNumber Canonical Property]
[PidTagExpiryTime Canonical Property]
[PidTagExpiryUnits Canonical Property]
[PidTagExplicitConversion Canonical Property]
[PidTagExtendedFolderFlags Canonical Property]
[PidTagExtendedRuleMessageActions Canonical Property]
[PidTagExtendedRuleMessageCondition Canonical Property]
[PidTagExtendedRuleSizeLimit Canonical Property]
[PidTagFinderEntryId Canonical Property]

[PidTagFlagCompleteTime Canonical Property]
[PidTagFlagStatus Canonical Property]

[PidTagFolderAssociatedContents Canonical Property]
[PidTagFolderType Canonical Property]
[PidTagFollowupIcon Canonical Property]

[PidTagFormCategory Canonical Property]
[PidTagFormCategorySub Canonical Property]
[PidTagFormClassId Canonical Property]
[PidTagFormContactName Canonical Property]
[PidTagFormDesignerGuid Canonical Property]
[PidTagFormDesignerName Canonical Property]
[PidTagFormHidden Canonical Property]
[PidTagFormHostMap Canonical Property]
[PidTagFormMessageBehavior Canonical Property]
[PidTagFormVersion Canonical Property]
[PidTagFreeBusyCountMonths Canonical Property]
[PidTagFreeBusyEntryIds Canonical Property]
[PidTagFreeBusyPublishEnd Canonical Property]
[PidTagFreeBusyPublishStart Canonical Property]
[PidTagFreeBusyRangeTimestamp Canonical Property]
[PidTagFtpSite Canonical Property]
[PidTagGender Canonical Property]
[PidTagGeneration Canonical Property]
[PidTagGivenName Canonical Property]
[PidTagGovernmentIdNumber Canonical Property]
[PidTagHasAttachments Canonical Property]
[PidTagHasDeferredActionMessages Canonical Property]
[PidTagHobbies Canonical Property]
[PidTagHome2TelephoneNumber Canonical Property]
[PidTagHome2TelephoneNumbers Canonical Property]
[PidTagHomeAddressCity Canonical Property]
[PidTagHomeAddressCountry Canonical Property]
[PidTagHomeAddressPostalCode Canonical Property]
[PidTagHomeAddressPostOfficeBox Canonical Property]
[PidTagHomeAddressStateOrProvince Canonical Property]
[PidTagHomeAddressStreet Canonical Property]
[PidTagHomeFaxNumber Canonical Property]
[PidTagHomeTelephoneNumber Canonical Property]
[PidTagHtml Canonical Property]
[PidTagIcon Canonical Property]
[PidTagIconIndex Canonical Property]
[PidTagIdentityDisplay Canonical Property]
[PidTagIdentityEntryId Canonical Property]
[PidTagIdentitySearchKey Canonical Property]
[PidTagImapCachedMsgsize Canonical Property]
[PidTagImplicitConversionProhibited Canonical Property]
[PidTagImportance Canonical Property]
[PidTagIncompleteCopy Canonical Property]
[PidTagInConflict Canonical Property]
[PidTagInitialDetailsPane Canonical Property]
[PidTagInitials Canonical Property]
[PidTagInReplyToId Canonical Property]
[PidTagInstanceKey Canonical Property]
[PidTagInternetArticleNumber Canonical Property]
[PidTagInternetCodepage Canonical Property]
[PidTagInternetMailOverrideFormat Canonical Property]
[PidTagInternetMessageId Canonical Property]
[PidTagInternetReferences Canonical Property]
[PidTagInternetReturnPath Canonical Property]
[PidTagIpmAppointmentEntryId Canonical Property]
[PidTagIpmContactEntryId Canonical Property]
[PidTagIpmDraftsEntryId Canonical Property]
[PidTagIpmJournalEntryId Canonical Property]
[PidTagIpmNoteEntryId Canonical Property]
[PidTagIpmOutboxEntryId Canonical Property]
[PidTagIpmReturnRequested Canonical Property]
[PidTagIpmSentMailEntryId Canonical Property]
[PidTagIpmSubtreeEntryId Canonical Property]
[PidTagIpmTaskEntryId Canonical Property]
[PidTagIpmWastebasketEntryId Canonical Property]
[PidTagIsdnNumber Canonical Property]
[PidTagItemTemporaryflags Canonical Property]
[PidTagJunkAddRecipientsToSafeSendersList Canonical Property]
[PidTagJunkIncludeContacts Canonical Property]
[PidTagJunkPermanentlyDelete Canonical Property]
[PidTagJunkPhishingEnableLinks Canonical Property]
[PidTagJunkThreshold Canonical Property]
[PidTagKeyword Canonical Property]
[PidTagLanguage Canonical Property]
[PidTagLanguages Canonical Property]
[PidTagLastModificationTime Canonical Property]
[PidTagLastVerbExecuted Canonical Property]
[PidTagLastVerbExecutionTime Canonical Property]
[PidTagLatestDeliveryTime Canonical Property]
[PidTagListHelp Canonical Property]
[PidTagListSubscribe Canonical Property]
[PidTagListUnsubscribe Canonical Property]
[PidTagLocaleId Canonical Property]
[PidTagLocality Canonical Property]
[PidTagLocation Canonical Property]
[PidTagLongTermEntryIdFromTable Canonical Property]
[PidTagMailboxOwnerName Canonical Property]
[PidTagMailPermission Canonical Property]
[PidTagManagerName Canonical Property]
[PidTagMappingSignature Canonical Property]
[PidTagMemberEntryId Canonical Property]
[PidTagMemberId Canonical Property]
[PidTagMemberName Canonical Property]
[PidTagMemberRights Canonical Property]
[PidTagMessageAttachments Canonical Property]
[PidTagMessageCcMe Canonical Property]
[PidTagMessageClass Canonical Property]
[PidTagMessageCodepage Canonical Property]
[PidTagMessageDeliveryId Canonical Property]
[PidTagMessageDeliveryTime Canonical Property]
[PidTagMessageDownloadTime Canonical Property]
[PidTagMessageEditorFormat Canonical Property]
[PidTagMessageFlags Canonical Property]
[PidTagMessageHandlingSystemCommonName Canonical Property]
[PidTagMessageLocaleId Canonical Property]
[PidTagMessageRecipientMe Canonical Property]
[PidTagMessageRecipients Canonical Property]
[PidTagMessageSecurityLabel Canonical Property]
[PidTagMessageSize Canonical Property]
[PidTagMessageSizeExtended Canonical Property]
[PidTagMessageStatus Canonical Property]
[PidTagMessageSubmissionId Canonical Property]
[PidTagMessageToken Canonical Property]
[PidTagMessageToMe Canonical Property]
[PidTagMiddleName Canonical Property]
[PidTagMiniIcon Canonical Property]
[PidTagMobileTelephoneNumber Canonical Property]
[PidTagNextSendAcct Canonical Property]
[PidTagNickname Canonical Property]
[PidTagNonDeliveryReportDiagCode Canonical Property]
[PidTagNonDeliveryReportReasonCode Canonical Property]
[PidTagNonIpmSubtreeEntryId Canonical Property]
[PidTagNonReceiptNotificationRequested Canonical Property]
[PidTagNonReceiptReason Canonical Property]
[PidTagNormalizedSubject Canonical Property]
[PidTagNull Canonical Property]
[PidTagObjectType Canonical Property]
[PidTagObsoletedMessageIds Canonical Property]

[PidTagOfficeLocation Canonical Property]

[PidTagOrdinalMost Canonical Property]
[PidTagOrganizationalIdNumber Canonical Property]
[PidTagOrgEmailAddress Canonical Property]
[PidTagOriginalAuthorAddressType Canonical Property]
[PidTagOriginalAuthorEmailAddress Canonical Property]
[PidTagOriginalAuthorEntryId Canonical Property]
[PidTagOriginalAuthorName Canonical Property]
[PidTagOriginalAuthorSearchKey Canonical Property]
[PidTagOriginalDeliveryTime Canonical Property]
[PidTagOriginalDisplayBcc Canonical Property]
[PidTagOriginalDisplayCc Canonical Property]
[PidTagOriginalDisplayName Canonical Property]
[PidTagOriginalDisplayTo Canonical Property]
[PidTagOriginalEits Canonical Property]
[PidTagOriginalEntryId Canonical Property]
[PidTagOriginallyIntendedRecipAddrtype Canonical Property]
[PidTagOriginallyIntendedRecipEmailAddress Canonical Property]
[PidTagOriginallyIntendedRecipEntryId Canonical Property]
[PidTagOriginallyIntendedRecipientName Canonical Property]
[PidTagOriginalMessageClass Canonical Property]
[PidTagOriginalSearchKey Canonical Property]
[PidTagOriginalSenderAddressType Canonical Property]
[PidTagOriginalSenderEmailAddress Canonical Property]
[PidTagOriginalSenderEntryId Canonical Property]
[PidTagOriginalSenderName Canonical Property]
[PidTagOriginalSenderSearchKey Canonical Property]
[PidTagOriginalSensitivity Canonical Property]
[PidTagOriginalSentRepresentingAddressType Canonical Property]
[PidTagOriginalSentRepresentingEmailAddress Canonical Property]
[PidTagOriginalSentRepresentingEntryId Canonical Property]
[PidTagOriginalSentRepresentingName Canonical Property]
[PidTagOriginalSentRepresentingSearchKey Canonical Property]
[PidTagOriginalSubject Canonical Property]
[PidTagOriginalSubmitTime Canonical Property]
[PidTagOriginatingMtaCertificate Canonical Property]
[PidTagOriginatorAndDistributionListExpansionHistory Canonical Property]
[PidTagOriginatorCertificate Canonical Property]
[PidTagOriginatorDeliveryReportRequested Canonical Property]
[PidTagOriginatorNonDeliveryReportRequested Canonical Property]
[PidTagOriginatorRequestedAlternateRecipient Canonical Property]
[PidTagOriginatorReturnAddress Canonical Property]
[PidTagOriginCheck Canonical Property]
[PidTagOtherAddressCity Canonical Property]
[PidTagOtherAddressCountry Canonical Property]
[PidTagOtherAddressPostalCode Canonical Property]
[PidTagOtherAddressPostOfficeBox Canonical Property]
[PidTagOtherAddressStateOrProvince Canonical Property]
[PidTagOtherAddressStreet Canonical Property]
[PidTagOtherTelephoneNumber Canonical Property]
[PidTagOwnerAppointmentId Canonical Property]
[PidTagOwnStoreEntryId Canonical Property]

[PidTagPagerTelephoneNumber Canonical Property]

[PidTagParentDisplay Canonical Property]

[PidTagParentEntryId Canonical Property]

[PidTagPersonalHomePage Canonical Property]

[PidTagPhysicalDeliveryBureauFaxDelivery Canonical Property]
[PidTagPhysicalDeliveryMode Canonical Property]
[PidTagPhysicalDeliveryReportRequest Canonical Property]
[PidTagPhysicalForwardingAddress Canonical Property]
[PidTagPhysicalForwardingAddressRequested Canonical Property]
[PidTagPhysicalForwardingProhibited Canonical Property]
[PidTagPhysicalRenditionAttributes Canonical Property]
[PidTagPostalAddress Canonical Property]
[PidTagPostalCode Canonical Property]
[PidTagPostOfficeBox Canonical Property]
[PidTagPreferredByName Canonical Property]
[PidTagPreprocess Canonical Property]
[PidTagPrimaryFaxNumber Canonical Property]
[PidTagPrimarySendAccount Canonical Property]
[PidTagPrimaryTelephoneNumber Canonical Property]
[PidTagPriority Canonical Property]
[PidTagProcessed Canonical Property]
[PidTagProfession Canonical Property]
[PidTagProfileName Canonical Property]
[PidTagProfileType Canonical Property]
[PidTagProofOfDelivery Canonical Property]
[PidTagProofOfDeliveryRequested Canonical Property]
[PidTagProofOfSubmission Canonical Property]
[PidTagProofOfSubmissionRequested Canonical Property]
[PidTagProviderDisplay Canonical Property]
[PidTagProviderDisplayName Canonical Property]
[PidTagProviderDllName Canonical Property]
[PidTagProviderIcon Canonical Property]
[PidTagProviderItemId Canonical Property]
[PidTagProviderOrdinal Canonical Property]
[PidTagProviderParentItemId Canonical Property]
[PidTagProviderSubmitTime Canonical Property]
[PidTagProviderUid Canonical Property]
[PidTagRadioTelephoneNumber Canonical Property]
[PidTagRead Canonical Property]
[PidTagReadReceiptEntryId Canonical Property]
[PidTagReadReceiptRequested Canonical Property]
[PidTagReadReceiptSearchKey Canonical Property]
[PidTagReceiptTime Canonical Property]
[PidTagReceivedByAddressType Canonical Property]
[PidTagReceivedByEmailAddress Canonical Property]
[PidTagReceivedByEntryId Canonical Property]
[PidTagReceivedByName Canonical Property]
[PidTagReceivedBySearchKey Canonical Property]
[PidTagReceivedRepresentingAddressType Canonical Property]
[PidTagReceivedRepresentingEmailAddress Canonical Property]
[PidTagReceivedRepresentingEntryId Canonical Property]
[PidTagReceivedRepresentingName Canonical Property]
[PidTagReceivedRepresentingSearchKey Canonical Property]
[PidTagReceiveFolderSettings Canonical Property]
[PidTagRecipientCertificate Canonical Property]
[PidTagRecipientDisplayName Canonical Property]
[PidTagRecipientEntryId Canonical Property]
[PidTagRecipientFlags Canonical Property]
[PidTagRecipientNumber Canonical Property]
[PidTagRecipientNumberForAdvice Canonical Property]
[PidTagRecipientProposed Canonical Property]
[PidTagRecipientProposedEndTime Canonical Property]
[PidTagRecipientProposedStartTime Canonical Property]
[PidTagRecipientReassignmentProhibited Canonical Property]
[PidTagRecipientStatus Canonical Property]
[PidTagRecipientTrackStatus Canonical Property]
[PidTagRecipientTrackStatusTime Canonical Property]
[PidTagRecipientType Canonical Property]

[PidTagRecordKey Canonical Property]
[PidTagRedirectionHistory Canonical Property]
[PidTagReferredByName Canonical Property]
[PidTagRegisteredMailType Canonical Property]
[PidTagRelatedMessageIds Canonical Property]
[PidTagRemindersOnlineEntryId Canonical Property]

[PidTagRemoteProgress Canonical Property]
[PidTagRemoteProgressText Canonical Property]
[PidTagRemoteValidateOk Canonical Property]
[PidTagRenderingPosition Canonical Property]

[PidTagReplyRecipientEntries Canonical Property]
[PidTagReplyRecipientNames Canonical Property]
[PidTagReplyRequested Canonical Property]
[PidTagReplyTemplateId Canonical Property]
[PidTagReplyTime Canonical Property]

[PidTagReportEntryId Canonical Property]
[PidTagReportingDistributionListName Canonical Property]
[PidTagReportingMessageTransferAgentCertificate Canonical Property]
[PidTagReportName Canonical Property]
[PidTagReportSearchKey Canonical Property]
[PidTagReportTag Canonical Property]
[PidTagReportText Canonical Property]
[PidTagReportTime Canonical Property]
[PidTagRequestedDeliveryMethod Canonical Property]
[PidTagResolveMethod Canonical Property]
[PidTagResourceFlags Canonical Property]
[PidTagResourceMethods Canonical Property]
[PidTagResourcePath Canonical Property]
[PidTagResourceType Canonical Property]
[PidTagResponseRequested Canonical Property]
[PidTagResponsibility Canonical Property]
[PidTagReturnedMessageid Canonical Property]
[PidTagRoamingDatatypes Canonical Property]
[PidTagRoamingDictionary Canonical Property]
[PidTagRoamingXmlStream Canonical Property]

[PidTagRowid Canonical Property]
[PidTagRowType Canonical Property]

[PidTagRtfCompressed Canonical Property]
[PidTagRtfInSync Canonical Property]
[PidTagRtfSyncBodyCount Canonical Property]
[PidTagRtfSyncBodyCrc Canonical Property]
[PidTagRtfSyncBodyTag Canonical Property]
[PidTagRtfSyncPrefixCount Canonical Property]
[PidTagRtfSyncTrailingCount Canonical Property]

[PidTagRuleActions Canonical Property]
[PidTagRuleCondition Canonical Property]
[PidTagRuleId Canonical Property]
[PidTagRuleLevel Canonical Property]
[PidTagRuleMsgName Canonical Property]
[PidTagRuleMsgProvider Canonical Property]
[PidTagRuleName Canonical Property]
[PidTagRuleProvider Canonical Property]
[PidTagRuleProviderData Canonical Property]
[PidTagRuleSequence Canonical Property]
[PidTagRulesTable Canonical Property]
[PidTagRuleState Canonical Property]
[PidTagRuleUserFlags Canonical Property]

[PidTagScheduleInfoAppointmentTombstone Canonical Property]
[PidTagScheduleInfoAutoAcceptAppointments Canonical Property]
[PidTagScheduleInfoDelegateEntryIds Canonical Property]
[PidTagScheduleInfoDelegateNames Canonical Property]
[PidTagScheduleInfoDelegatorWantsCopy Canonical Property]
[PidTagScheduleInfoDelegatorWantsInfo Canonical Property]
[PidTagScheduleInfoDisallowOverlappingAppts Canonical Property]
[PidTagScheduleInfoDisallowRecurringAppts Canonical Property]
[PidTagScheduleInfoDontMailDelegates Canonical Property]
[PidTagScheduleInfoFreeBusy Canonical Property]
[PidTagScheduleInfoFreeBusyAway Canonical Property]
[PidTagScheduleInfoFreeBusyBusy Canonical Property]
[PidTagScheduleInfoFreeBusyMerged Canonical Property]
[PidTagScheduleInfoFreeBusyTentative Canonical Property]
[PidTagScheduleInfoMonthsAway Canonical Property]
[PidTagScheduleInfoMonthsBusy Canonical Property]
[PidTagScheduleInfoMonthsMerged Canonical Property]
[PidTagScheduleInfoMonthsTentative Canonical Property]
[PidTagScheduleInfoResourceType Canonical Property]

[PidTagSearch Canonical Property]
[PidTagSearchFolderDefinition Canonical Property]
[PidTagSearchFolderEfpFlags Canonical Property]
[PidTagSearchFolderExpiration Canonical Property]
[PidTagSearchFolderId Canonical Property]
[PidTagSearchFolderLastUsed Canonical Property]
[PidTagSearchFolderStorageType Canonical Property]
[PidTagSearchFolderTag Canonical Property]
[PidTagSearchFolderTemplateId Canonical Property]
[PidTagSearchKey Canonical Property]

[PidTagSelectable Canonical Property]

[PidTagSenderAddressType Canonical Property]
[PidTagSenderEmailAddress Canonical Property]
[PidTagSenderEntryId Canonical Property]
[PidTagSenderName Canonical Property]
[PidTagSenderSearchKey Canonical Property]
[PidTagSendInternetEncoding Canonical Property]
[PidTagSendRichInfo Canonical Property]

[PidTagSensitivity Canonical Property]

[PidTagSentMailEntryId Canonical Property]

[PidTagSentRepresentingAddressType Canonical Property]
[PidTagSentRepresentingEmailAddress Canonical Property]
[PidTagSentRepresentingEntryId Canonical Property]
[PidTagSentRepresentingName Canonical Property]
[PidTagSentRepresentingSearchKey Canonical Property]

[PidTagServiceDeleteFiles Canonical Property]
[PidTagServiceDllName Canonical Property]
[PidTagServiceEntryName Canonical Property]
[PidTagServiceExtraUids Canonical Property]
[PidTagServiceInstallId Canonical Property]
[PidTagServiceName Canonical Property]
[PidTagServices Canonical Property]
[PidTagServiceSupportFiles Canonical Property]
[PidTagServiceUid Canonical Property]

[PidTagSmtpAddress Canonical Property]

[PidTagSpoolerStatus Canonical Property]
[PidTagSpouseName Canonical Property]

[PidTagStartDate Canonical Property]
[PidTagStateOrProvince Canonical Property]
[PidTagStatus Canonical Property]
[PidTagStatusCode Canonical Property]
[PidTagStatusString Canonical Property]

[PidTagStoreEntryId Canonical Property]
[PidTagStoreProvider Canonical Property]
[PidTagStoreProviders Canonical Property]
[PidTagStoreRecordKey Canonical Property]
[PidTagStoreState Canonical Property]
[PidTagStoreSupportMask Canonical Property]
[PidTagStoreUnicodeMask Canonical Property]

[PidTagStreetAddress Canonical Property]

[PidTagSubfolders Canonical Property]

[PidTagSubject Canonical Property]
[PidTagSubjectMessageId Canonical Property]
[PidTagSubjectPrefix Canonical Property]
[PidTagSubmitFlags Canonical Property]

[PidTagSupplementaryInfo Canonical Property]

[PidTagSurname Canonical Property]

[PidTagSwappedToDoData Canonical Property]
[PidTagSwappedToDoStore Canonical Property]

[PidTagTelecommunicationsDeviceForDeafTelephoneNumber Canonical Property]
[PidTagTelexNumber Canonical Property]

[PidTagTemplateid Canonical Property]

[PidTagTextAttachmentCharset Canonical Property]

[PidTagTitle Canonical Property]

[PidTagTnefCorrelationKey Canonical Property]
[PidTagTnefUnprocessedProps Canonical Property]

[PidTagToDoItemFlags Canonical Property]

[PidTagTransmittableDisplayName Canonical Property]
[PidTagTransportKey Canonical Property]
[PidTagTransportMessageHeaders Canonical Property]
[PidTagTransportProviders Canonical Property]

[PidTagTtyTddPhoneNumber Canonical Property]

[PidTagTypeOfX400User Canonical Property]

[PidTagUrlComponentName Canonical Property]

[PidTagUserCertificate Canonical Property]
[PidTagUserX509Certificate Canonical Property]

[PidTagValidFolderMask Canonical Property]

[PidTagViewDescriptorName Canonical Property]
[PidTagViewDescriptorVersion Canonical Property]
[PidTagViewsEntryId Canonical Property]

[PidTagWeddingAnniversary Canonical Property]

[PidTagWizardNoPabPage Canonical Property]
[PidTagWizardNoPstPage Canonical Property]

[PidTagX400ContentType Canonical Property]

[PidTagXCoordinate Canonical Property]
[PidTagYCoordinate Canonical Property]