(Msg. 1) Posted: Thu Mar 13, 2008 12:54 am
Post subject: Using SetColumns with a custom property Archived from groups: microsoft>public>outlook>interop (more info?)
I want to improve the speed of iterating through Items using the SetColumns
method, but I run into problems when I try to include a custom property in
the column list. I've used this same custom property in restrict filters,
and have double checked that it is a property of the folder as well as the
items. The custom property is a string type.
The offending line of code is:
Items.SetColumns("MyCustomProperty, FullName, BusinessAddressState")
With the error:
"The Property "MyCustomProperty" is unknown."
It works fine without the custom property in there.
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum