NetOffice icon indicating copy to clipboard operation
NetOffice copied to clipboard

ItemProperties enumerator fails when UserProperty exists

Open yzarcman opened this issue 6 years ago • 2 comments

When using for each iterator on ItemProperties collection of a contact item I receive the following error.

foreach (var property in item.ItemProperties)
{
  // my logic here
}

Unable to cast object of type 'NetOffice.OutlookApi.UserProperty' to type 'NetOffice.OutlookApi.ItemProperty'. at NetOffice.OutlookApi.ItemProperties.<GetEnumerator>d__31.MoveNext()

yzarcman avatar Mar 13 '19 15:03 yzarcman

What NetOffice version are you using?

jozefizso avatar Apr 22 '19 09:04 jozefizso

1.7.4.5

yzarcman avatar Apr 22 '19 11:04 yzarcman