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)
Syntax
'Declaration
<DispIdAttribute()> _
Property CustomViewsOnly As Boolean
Get
Set
'Usage
Dim instance As MAPIFolder
Dim value As Boolean
value = instance.CustomViewsOnly
instance.CustomViewsOnly = value
[DispIdAttribute()]
bool CustomViewsOnly { get; set; }
Property Value
Type: System.Boolean
Remarks
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.