Partager via


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
<DispIdAttribute()> _
Property WebViewOn As Boolean
    Get
    Set
'Usage
Dim instance As MAPIFolder
Dim value As Boolean

value = instance.WebViewOn

instance.WebViewOn = value
[DispIdAttribute()]
bool WebViewOn { get; set; }

Property Value

Type: System.Boolean

Remarks

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

Microsoft Outlook uses the rendering engine of the version Windows Internet Explorer installed on the client computer to display the web page. If Internet Explorer is not installed on the client computer, Outlook will not display the web page.

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