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.d__31.MoveNext()
When using for each iterator on ItemProperties collection of a contact item I receive the following error.
Unable to cast object of type 'NetOffice.OutlookApi.UserProperty' to type 'NetOffice.OutlookApi.ItemProperty'. at NetOffice.OutlookApi.ItemProperties.d__31.MoveNext()