_FormRegion.FormRegionMode Property

Returns an OlFormRegionMode constant that indicates whether the form region is in a read page, compose page, or Reading Pane. Read-only.

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

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property FormRegionMode As OlFormRegionMode
    Get
'Usage
Dim instance As _FormRegion
Dim value As OlFormRegionMode

value = instance.FormRegionMode
[DispIdAttribute()]
OlFormRegionMode FormRegionMode { get; }

Property Value

Type: Microsoft.Office.Interop.Outlook.OlFormRegionMode

Remarks

If the user has a mail item in the Reading Pane, you can use the _MailItem.Sent property to further determine if the user is in the edit mode or the read mode of the Reading Pane. A mail item is displayed differently in the Reading Pane if it is in the edit mode (the mail item is in the Draft folder) than if it is in the read mode (the mail item is in the Inbox or Sent folder).

See Also

Reference

_FormRegion Interface

_FormRegion Members

Microsoft.Office.Interop.Outlook Namespace