This documentation is archived and is not being maintained.

MAPIFolder.CustomViewsOnly Property

Returns or sets a Boolean (bool in C#) that determines which views are displayed on the View menu for a given folder. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

bool CustomViewsOnly { get; set; }

Property Value

Type: System.Boolean

If set to the True, only user-created views will appear on the menu.

This property has an effect only on the View menu. It does not affect the display of views in the Navigation Pane.