Quantcast
Channel: Microsoft Outlook Interoperability
Viewing all articles
Browse latest Browse all 109

Programmatically display UDF in Outlook Folder

$
0
0
Is there a way to display a User Defined Field programmatically in an Outlook Folder?.

Here's how I create it (VB2008 and VSTO3):

usrProp = m_Item.UserProperties.Add(strPropName, Outlook.OlUserPropertyType.olText, True, Outlook.OlUserPropertyType.olText)
usrProp.Value = oValue
m_Item.Save()

After this statement the Property does show up in the list of UDF's when I click on Column Header, Customize, Fields, but how can I add it programmatically to the folder view?

Viewing all articles
Browse latest Browse all 109

Trending Articles