![]() |
Get the categories information
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 |
Get the categories information
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 |
Get the categories information
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 |
Get the categories information
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#. |
All times are GMT +1. The time now is 12:28 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com