View Single Post
  #3  
Old June 7th 09, 04:46 PM posted to microsoft.public.outlook.program_addins
Deepak N
external usenet poster
 
Posts: 4
Default Application.ActiveInspector().CurrentItem Returns Wrong(Old) Value

Thanks for reply.
Is it necessary release a COM Object, if a COM object is passed as parameter to a method.

Ex:
PrintName(ContactItemClass contact)
{
Console.WriteLine(contact.FirstName);
//Is it necessary to call Marshal.ReleaseComObject(contact) here
}.
Submitted using http://www.outlookforums.com
Ads