MAPIFolder.ShowAsOutlookAB Property
Returns or sets a Boolean (bool in C#) value that specifies whether the contact items folder will be displayed as an address list in the Outlook Address Book. Read/write.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
Property ShowAsOutlookAB As Boolean
Get
Set
'Usage
Dim instance As MAPIFolder
Dim value As Boolean
value = instance.ShowAsOutlookAB
instance.ShowAsOutlookAB = value
[DispIdAttribute()]
bool ShowAsOutlookAB { get; set; }
Property Value
Type: System.Boolean
Remarks
If you set the ShowAsOutlookAB property of a contact items folder to False, it will not be available in the drop-down list under Address Book in the Address Book dialog box.
ShowAsOutlookAB does not support folders on another Exchange user's mailbox, for example, a Contacts folder that is shared by another user. Getting or setting this property on such a folder will not produce any desired results.