1topic "class MAPIContact : public MAPIObject"; 2[2 $$0,0#00000000000000000000000000000000:Default] 3[i448;a25;kKO9;2 $$1,0#37138531426314131252341829483380:class] 4[l288;2 $$2,2#27521748481378242620020725143825:desc] 5[0 $$3,0#96390100711032703541132217272105:end] 6[H6;0 $$4,0#05600065144404261032431302351956:begin] 7[i448;a25;kKO9;2 $$5,0#37138531426314131252341829483370:item] 8[l288;a4;*@5;1 $$6,6#70004532496200323422659154056402:requirement] 9[l288;i1121;b17;O9;~~~.1408;2 $$7,0#10431211400427159095818037425705:param] 10[i448;b42;O9;2 $$8,8#61672508125594000341940100500538:tparam] 11[b42;2 $$9,9#13035079074754324216151401829390:normal] 12[{_} 13[ {{10000@(113.42.0) [s0;%% [*@7;4 MAPIContact]]}}&] 14[s0;i448;kKO9;@(0.0.255)0 &] 15[s0;i448;a25;kKO9;:MAPIContact`:`:class: [@(0.0.255)3 class][3 _][*3 MAPIContact][3 _:_][@(0.0.255)3 p 16ublic][3 _][*@3;3 MAPIObject]&] 17[s9; Outlook contact.&] 18[s3;2 &] 19[s0; &] 20[ {{10000F(128)G(128)@1 [s0;%% [* Constructor detail]]}}&] 21[s4; &] 22[s5;:MAPIContact`:`:MAPIContact`(`): [* MAPIContact]()&] 23[s2;%% Default constructor.&] 24[s3; &] 25[ {{10000F(128)G(128)@1 [s0;%% [* Public Method List]]}}&] 26[s4; &] 27[s5;:MAPIContact`:`:GetName`(ULONG`): [_^String^ String]_[* GetName](ULONG_[*@3 ulNameID]_`= 28_PR`_DISPLAY`_NAME)&] 29[s2;%% Gets contact name.&] 30[s3;%% &] 31[s4; &] 32[s5;:MAPIContact`:`:GetEmail`(int`): [_^String^ String]_[* GetEmail]([@(0.0.255) int]_[*@3 nI 33ndex]_`=_[@3 1])&] 34[s2;%% Gets contact email index [%-*@3 nIndex ](1, 2, or 3).&] 35[s3;%% &] 36[s4; &] 37[s5;:MAPIContact`:`:GetEmailDisplayAs`(int`): [_^String^ String]_[* GetEmailDisplayAs]([@(0.0.255) i 38nt]_[*@3 nIndex]_`=_[@3 1])&] 39[s2;%% Gets contact email display text index [%-*@3 nIndex] (1, 2 or 403).&] 41[s3;%% &] 42[s4; &] 43[s5;:MAPIContact`:`:GetHomePage`(bool`): [_^String^ String]_[* GetHomePage]([@(0.0.255) boo 44l]_[*@3 bBusiness]_`=_[@(0.0.255) true])&] 45[s2;%% Gets contact web page address. If [%-*@3 bBusiness] is true 46it returns the business home page. If not, it returns the personal 47home page.&] 48[s3;%% &] 49[s4; &] 50[s5;:MAPIContact`:`:GetPhoneNumber`(ULONG`): [_^String^ String]_[* GetPhoneNumber](ULONG_ 51[*@3 ulPhoneNumberID])&] 52[s2;%% Gets contact phone number index [%-*@3 ulPhoneNumberID]. Valid 53values are:&] 54[s2;i150;O0;%% PR`_BUSINESS`_TELEPHONE`_NUMBER&] 55[s2;i150;O0;%% PR`_BUSINESS2`_TELEPHONE`_NUMBER&] 56[s2;i150;O0;%% PR`_CALLBACK`_TELEPHONE`_NUMBER&] 57[s2;i150;O0;%% PR`_ASSISTANT`_TELEPHONE`_NUMBER&] 58[s2;i150;O0;%% PR`_BUSINESS`_FAX`_NUMBER&] 59[s3;%% &] 60[s4; &] 61[s5;:MAPIContact`:`:GetPostalAddress`(`): [_^String^ String]_[* GetPostalAddress]()&] 62[s2;%% Gets contact postal address.&] 63[s3; &] 64[s4; &] 65[s5;:MAPIContact`:`:GetIMAddress`(`): [_^String^ String]_[* GetIMAddress]()&] 66[s2;%% Gets contact instant messenger address.&] 67[s3; &] 68[s4; &] 69[s5;:MAPIContact`:`:GetFileAs`(`): [_^String^ String]_[* GetFileAs]()&] 70[s2;%% Gets the contact filling string.&] 71[s3; &] 72[s4; &] 73[s5;:MAPIContact`:`:GetTitle`(`): [_^String^ String]_[* GetTitle]()&] 74[s2;%% Gets contact company title&] 75[s3; &] 76[s4; &] 77[s5;:MAPIContact`:`:GetCompany`(`): [_^String^ String]_[* GetCompany]()&] 78[s2;%% Gets contact company name&] 79[s3; &] 80[s4; &] 81[s5;:MAPIContact`:`:GetProfession`(`): [_^String^ String]_[* GetProfession]()&] 82[s2;%% Gets contact profession&] 83[s3; &] 84[s4; &] 85[s5;:MAPIContact`:`:GetDisplayNamePrefix`(`): [_^String^ String]_[* GetDisplayNamePrefix]( 86)&] 87[s2;%% Gets contact display name prefix&] 88[s3; &] 89[s4; &] 90[s5;:MAPIContact`:`:GetGeneration`(`): [_^String^ String]_[* GetGeneration]()&] 91[s2;%% Gets the contact generational abbreviation that follows the 92full name of the recipient.&] 93[s3; &] 94[s4; &] 95[s5;:MAPIContact`:`:GetDepartment`(`): [_^String^ String]_[* GetDepartment]()&] 96[s2;%% Gets contact department.&] 97[s3; &] 98[s4; &] 99[s5;:MAPIContact`:`:GetOffice`(`): [_^String^ String]_[* GetOffice]()&] 100[s2;%% Gets contact office location.&] 101[s3; &] 102[s4; &] 103[s5;:MAPIContact`:`:GetManagerName`(`): [_^String^ String]_[* GetManagerName]()&] 104[s2;%% Gets contact manager name.&] 105[s3; &] 106[s4; &] 107[s5;:MAPIContact`:`:GetAssistantName`(`): [_^String^ String]_[* GetAssistantName]()&] 108[s2;%% Gets contact assistant name.&] 109[s3; &] 110[s4; &] 111[s5;:MAPIContact`:`:GetNickName`(`): [_^String^ String]_[* GetNickName]()&] 112[s2;%% Gets contact nickname.&] 113[s3; &] 114[s4; &] 115[s5;:MAPIContact`:`:GetSpouseName`(`): [_^String^ String]_[* GetSpouseName]()&] 116[s2;%% Gets contact spouse name.&] 117[s3; &] 118[s4; &] 119[s5;:MAPIContact`:`:GetBirthday`(`): [_^Time^ Time]_[* GetBirthday]()&] 120[s2;%% Gets contact birthday date.&] 121[s3; &] 122[s4; &] 123[s5;:MAPIContact`:`:GetAnniversary`(`): [_^Time^ Time]_[* GetAnniversary]()&] 124[s2;%% Gets contact anniversary date.&] 125[s3; &] 126[s4; &] 127[s5;:MAPIContact`:`:GetCategories`(`): [_^String^ String]_[* GetCategories]()&] 128[s2;%% Gets a String with all contact categories.&] 129[s3; &] 130[s4; &] 131[s5;:MAPIContact`:`:SetName`(const String`&`,ULONG`): [@(0.0.255) bool]_[* SetName]([@(0.0.255) c 132onst]_[_^String^ String]_`&[*@3 szName], ULONG_[*@3 ulNameID]_`=_PR`_DISPLAY`_NAME)&] 133[s2;%% Sets contact name with [%-*@3 szName].&] 134[s3;%% &] 135[s4; &] 136[s5;:MAPIContact`:`:SetEmail`(const String`&`,int`): [@(0.0.255) bool]_[* SetEmail]([@(0.0.255) c 137onst]_[_^String^ String]_`&[*@3 szEmail], [@(0.0.255) int]_[*@3 nIndex]_`=_[@3 1])&] 138[s2;%% Sets contact email index [%-*@3 nIndex] with [%-*@3 szEmail].&] 139[s3;%% &] 140[s4; &] 141[s5;:MAPIContact`:`:SetEmailDisplayAs`(const String`&`,int`): [@(0.0.255) bool]_[* SetEma 142ilDisplayAs]([@(0.0.255) const]_[_^String^ String]_`&[*@3 szDisplayAs], 143[@(0.0.255) int]_[*@3 nIndex]_`=_[@3 1])&] 144[s2;%% Sets contact email display text index [%-*@3 nIndex] with [%-*@3 szDisplayAs].&] 145[s3;%% &] 146[s4; &] 147[s5;:MAPIContact`:`:SetHomePage`(const String`&`,bool`): [@(0.0.255) bool]_[* SetHomePage 148]([@(0.0.255) const]_[_^String^ String]_`&[*@3 szHomePage], [@(0.0.255) bool]_[*@3 bBusines 149s]_`=_[@(0.0.255) true])&] 150[s2;%% Sets contact home name [%-*@3 szHomePage]. If [%-*@3 bBusiness].is 151true it returns the business home page. If not, it returns the 152personal home page.&] 153[s3;%% &] 154[s4; &] 155[s5;:MAPIContact`:`:SetPhoneNumber`(const String`&`,ULONG`): [@(0.0.255) bool]_[* SetPhon 156eNumber]([@(0.0.255) const]_[_^String^ String]_`&[*@3 szPhoneNumber], 157ULONG_[*@3 ulPhoneNumberID])&] 158[s2;%% Sets contact phone number index [%-*@3 ulPhoneNumberID] with 159[%-*@3 szPhoneNumber]. Valid indexes are:&] 160[s2;i150;O0;%% PR`_BUSINESS`_TELEPHONE`_NUMBER&] 161[s2;i150;O0;%% PR`_BUSINESS2`_TELEPHONE`_NUMBER&] 162[s2;i150;O0;%% PR`_CALLBACK`_TELEPHONE`_NUMBER&] 163[s2;i150;O0;%% PR`_ASSISTANT`_TELEPHONE`_NUMBER&] 164[s2;i150;O0;%% PR`_BUSINESS`_FAX`_NUMBER&] 165[s3;%% &] 166[s4;%% &] 167[s5;:MAPIContact`:`:SetPostalAddress`(AddressType`): [@(0.0.255) bool]_[* SetPostalAddres 168s](ContactAddress`::AddressType_[*@3 nType])&] 169[s2;%% Sets contact postal address type from [%-*@3 nType].&] 170[s3;%% &] 171[s4; &] 172[s5;:MAPIContact`:`:SetNotes`(const String`&`,bool`): [@(0.0.255) bool]_[* SetNotes]([@(0.0.255) c 173onst]_[_^String^ String]_`&[*@3 szNotes], [@(0.0.255) bool]_[*@3 bRTF][@(0.0.255) `=false]) 174&] 175[s2;%% Sets contact notes from [%-*@3 szNotes]. In [%-*@3 bRTF] it indicates 176if text is RTF.&] 177[s3;%% &] 178[s4; &] 179[s5;:MAPIContact`:`:SetFileAs`(const String`&`): [@(0.0.255) bool]_[* SetFileAs]([@(0.0.255) c 180onst]_[_^String^ String]_`&[*@3 szFileAs])&] 181[s2;%% Sets contact file as from [%-*@3 szFileAs].&] 182[s3;%% &] 183[s4; &] 184[s5;:MAPIContact`:`:SetTitle`(const String`&`): [@(0.0.255) bool]_[* SetTitle]([@(0.0.255) c 185onst]_[_^String^ String]_`&[*@3 szTitle])&] 186[s2;%% Sets contact title from [%-*@3 szTitle].&] 187[s3;%% &] 188[s4; &] 189[s5;:MAPIContact`:`:SetCompany`(const String`&`): [@(0.0.255) bool]_[* SetCompany]([@(0.0.255) c 190onst]_[_^String^ String]_`&[*@3 szCompany])&] 191[s2;%% Sets contact company from [%-*@3 szCompany].&] 192[s3;%% &] 193[s4; &] 194[s5;:MAPIContact`:`:SetProfession`(const String`&`): [@(0.0.255) bool]_[* SetProfession]( 195[@(0.0.255) const]_[_^String^ String]_`&[*@3 szProfession])&] 196[s2;%% Sets contact profession from [%-*@3 szProfession].&] 197[s3;%% &] 198[s4; &] 199[s5;:MAPIContact`:`:SetDisplayNamePrefix`(const String`&`): [@(0.0.255) bool]_[* SetDispl 200ayNamePrefix]([@(0.0.255) const]_[_^String^ String]_`&[*@3 szPrefix])&] 201[s2;%% Sets contact display name prefix from [%-*@3 szPrefix].&] 202[s3;%% &] 203[s4; &] 204[s5;:MAPIContact`:`:SetGeneration`(const String`&`): [@(0.0.255) bool]_[* SetGeneration]( 205[@(0.0.255) const]_[_^String^ String]_`&[*@3 szGeneration])&] 206[s2;%% Sets contact generation from [%-*@3 szGeneration].&] 207[s3;%% &] 208[s4; &] 209[s5;:MAPIContact`:`:SetDepartment`(const String`&`): [@(0.0.255) bool]_[* SetDepartment]( 210[@(0.0.255) const]_[_^String^ String]_`&[*@3 szDepartment])&] 211[s2;%% Sets contact department from [%-*@3 szDepartment].&] 212[s3;%% &] 213[s4; &] 214[s5;:MAPIContact`:`:SetOffice`(const String`&`): [@(0.0.255) bool]_[* SetOffice]([@(0.0.255) c 215onst]_[_^String^ String]_`&[*@3 szOffice])&] 216[s2;%% Sets contact office from [%-*@3 szOffice].&] 217[s3;%% &] 218[s4; &] 219[s5;:MAPIContact`:`:SetManagerName`(const String`&`): [@(0.0.255) bool]_[* SetManagerName 220]([@(0.0.255) const]_[_^String^ String]_`&[*@3 szManagerName])&] 221[s2;%% Sets contact manager name from [%-*@3 szManagerName].&] 222[s3;%% &] 223[s4; &] 224[s5;:MAPIContact`:`:SetAssistantName`(const String`&`): [@(0.0.255) bool]_[* SetAssistant 225Name]([@(0.0.255) const]_[_^String^ String]_`&[*@3 szAssistantName])&] 226[s2;%% Sets contact assistant name from [%-*@3 szAssistantName].&] 227[s3;%% &] 228[s4; &] 229[s5;:MAPIContact`:`:SetNickName`(const String`&`): [@(0.0.255) bool]_[* SetNickName]([@(0.0.255) c 230onst]_[_^String^ String]_`&[*@3 szNickName])&] 231[s2;%% Sets contact nickname from [%-*@3 szNickName].&] 232[s3;%% &] 233[s4; &] 234[s5;:MAPIContact`:`:SetSpouseName`(const String`&`): [@(0.0.255) bool]_[* SetSpouseName]( 235[@(0.0.255) const]_[_^String^ String]_`&[*@3 szSpouseName])&] 236[s2;%% Sets contact spouse name from [%-*@3 szSpouseName].&] 237[s3;%% &] 238[s4; &] 239[s5;:MAPIContact`:`:SetBirthday`(const Time`&`): [@(0.0.255) bool]_[* SetBirthday]([@(0.0.255) c 240onst]_[_^Time^ Time]_`&[*@3 tm])&] 241[s2;%% Sets contact birthday from [%-*@3 tm].&] 242[s3;%% &] 243[s4; &] 244[s5;:MAPIContact`:`:SetAnniversary`(const Time`&`): [@(0.0.255) bool]_[* SetAnniversary]( 245[@(0.0.255) const]_[_^Time^ Time]_`&[*@3 tm])&] 246[s2;%% Sets contact anniversary from [%-*@3 tm].&] 247[s3;%% &] 248[s4; &] 249[s5;:MAPIContact`:`:SetCategories`(const String`&`): [@(0.0.255) bool]_[* SetCategories]( 250[@(0.0.255) const]_[_^String^ String]_`&[*@3 szCategories])&] 251[s2;%% Sets contact categories from [%-*@3 szCategories].&] 252[s3;%% &] 253[s4; &] 254[s5;:MAPIContact`:`:HasPicture`(`): [@(0.0.255) bool]_[* HasPicture]()&] 255[s2;%% Indicates if contact has a picture.&] 256[s3; &] 257[s4; &] 258[s5;:MAPIContact`:`:SetPicture`(const String`&`): [@(0.0.255) bool]_[* SetPicture]([@(0.0.255) c 259onst]_[_^String^ String]_`&[*@3 szPath])&] 260[s2;%% Sets contact picture from image file in [%-*@3 szPath].&] 261[s3;%% &] 262[s0;%% ]