MAPIFolder.WebViewOn Property

Returns or sets a Boolean (bool in C#) indicating the Web view state for a folder. Read/write.

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

Syntax

'Declaration
Property WebViewOn As Boolean
    Get
    Set
'Usage
Dim instance As MAPIFolder
Dim value As Boolean

value = instance.WebViewOn

instance.WebViewOn = value
bool WebViewOn { get; set; }

Property Value

Type: System.Boolean

Remarks

Returns True to display the Web page specified by the MAPIFolder.WebViewURL property.

This property is always False if the value of the WebViewURL property is empty.

Also, setting the WebViewOn property to True before setting the WebViewURL property will not display the home page specified in the WebViewURL property.

See Also

Reference

MAPIFolder Interface

MAPIFolder Members

Microsoft.Office.Interop.Outlook Namespace