PC Review


Reply
Thread Tools Rate Thread

How to convert a generic list to Outlook.Items list?

 
 
New Member
Join Date: Apr 2009
Posts: 3
 
      2nd Apr 2009
Hi,
I need to convert/cast a generic list containing TaskItems to an Outlook.Items list.

i tried this but it doesn't work:
ListTaskItem> lst = newListTaskItem>();
lst.Add(myTaskItem);
Outlook.Items outItems = (Outlook.Items)lst;

Can anyone please show me the direction?

thank you

 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare List A to List B, Return List B Items Not in List A zwestbrook Microsoft Excel Programming 4 18th Sep 2008 10:32 PM
Convert Array to Generic List Chris Kennedy Microsoft VB .NET 2 1st Sep 2008 11:26 AM
Convert Array to Generic List and find object in list Chris Kennedy Microsoft Dot NET Framework 1 31st Aug 2008 08:04 PM
Copy Items from a Generic List into multiple Generic Lists Sam Shrefler Microsoft C# .NET 5 12th Oct 2007 06:27 PM
how to view generic list items in watch window ib Microsoft VC .NET 1 5th Dec 2006 05:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:42 PM.