IFormRegionFactory.IsDisplayedForItem(Object, OlFormRegionMode, OlFormRegionSize) Method

Definition

Returns a value that indicates whether the form region should appear for the specified Microsoft Office Outlook item.

public bool IsDisplayedForItem (object outlookItem, Microsoft.Office.Interop.Outlook.OlFormRegionMode formRegionMode, Microsoft.Office.Interop.Outlook.OlFormRegionSize formRegionSize);

Parameters

outlookItem
Object

The Outlook item that caused the form region to load.

formRegionMode
OlFormRegionMode

The mode of the Outlook item that caused the form region to load. This mode is represented by the OlFormRegionMode enumeration.

formRegionSize
OlFormRegionSize

The type of form region being loaded. This mode is represented by the OlFormRegionSize enumeration.

Returns

A Boolean that indicates whether the form region should appear for the specified Outlook item.

Remarks

If you manually create a form region factory class, you can use this method to prevent an Outlook item from displaying the form region.

Applies to