![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
After having the name of a category from a particular mailItem, I need to get information (Color,..) about this category. I found this: http://msdn2.microsoft.com/en-us/library/bb175052.aspx But for me, the function "Item" is not accessible in my code. Is there something I'm doing wrong? Thanks, David |
Ads |
#2
|
|||
|
|||
![]()
What version of Outlook? What language are you using?
-- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "DavidH&P" wrote in message ... Hi, After having the name of a category from a particular mailItem, I need to get information (Color,..) about this category. I found this: http://msdn2.microsoft.com/en-us/library/bb175052.aspx But for me, the function "Item" is not accessible in my code. Is there something I'm doing wrong? Thanks, David |
#3
|
|||
|
|||
![]()
I'm using VSTO 2005 SE, outlook 2007 and c#.
"Ken Slovak - [MVP - Outlook]" wrote: What version of Outlook? What language are you using? -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "DavidH&P" wrote in message ... Hi, After having the name of a category from a particular mailItem, I need to get information (Color,..) about this category. I found this: http://msdn2.microsoft.com/en-us/library/bb175052.aspx But for me, the function "Item" is not accessible in my code. Is there something I'm doing wrong? Thanks, David |
#4
|
|||
|
|||
![]()
For C# use Categories[n] where n is the category you want to get. It's the
same with any collection when programming in C#, you don't use Item you use the collection with an index. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "DavidH&P" wrote in message ... I'm using VSTO 2005 SE, outlook 2007 and c#. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Programming custom Categories into Master Categories List | John E. | Outlook - Using Forms | 3 | March 30th 09 11:06 AM |
Categories field doesn't get updated with new information | SherryC | Outlook - Using Contacts | 0 | March 7th 07 07:06 PM |
Outlook 2007 Categories are a combo of Categories & Labels in 2003 | Scott Sherman | Outlook - Calandaring | 0 | February 13th 07 04:23 AM |
Tasks categories. Unable to modify another user's categories. | Tommy | Outlook - Installation | 0 | August 9th 06 04:43 PM |
Organizing contacts in folder by categories - new categories missi | Annie Best | Outlook - Using Contacts | 5 | May 16th 06 03:26 PM |