PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Interoperability Accesing the properties of MailItem

Reply

Accesing the properties of MailItem

 
Thread Tools Rate Thread
Old 03-06-2006, 10:50 AM   #1
Renjith V
Guest
 
Posts: n/a
Default Accesing the properties of MailItem


Hello

I am using C# to code an Outlook Addin. In that I needs to display to the
user all the properties available for a MailItem. When I try to use
reflection to get the properties it returns an empty list of PropertyIfo[].
The reason being the type of the object is System.__ComObject. Can any one
help?

Regards
Renjith V.


  Reply With Quote
Old 03-06-2006, 06:12 PM   #2
Ken Slovak - [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: Accesing the properties of MailItem

Show the code you're using, including any "uses" and constructors.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Renjith V" <v.renjith@gmail.com> wrote in message
news:%231JWlMvhGHA.4252@TK2MSFTNGP04.phx.gbl...
> Hello
>
> I am using C# to code an Outlook Addin. In that I needs to display to the
> user all the properties available for a MailItem. When I try to use
> reflection to get the properties it returns an empty list of
> PropertyIfo[]. The reason being the type of the object is
> System.__ComObject. Can any one help?
>
> Regards
> Renjith V.
>


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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