A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Get the categories information



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 12th 07, 01:10 PM posted to microsoft.public.outlook.program_addins
DavidH&P
external usenet poster
 
Posts: 16
Default 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

Ads
  #2  
Old September 12th 07, 02:54 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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


  #3  
Old September 12th 07, 03:08 PM posted to microsoft.public.outlook.program_addins
DavidH&P
external usenet poster
 
Posts: 16
Default 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



  #4  
Old September 12th 07, 08:30 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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#.


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 08:37 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.