Factory.CreateFormRegionInitializingEventArgs Method

Definition

Creates a FormRegionInitializingEventArgs object that provides data for the FormRegionInitializing event of the form region factory class.

public Microsoft.Office.Tools.Outlook.FormRegionInitializingEventArgs CreateFormRegionInitializingEventArgs (object outlookItem, Microsoft.Office.Interop.Outlook.OlFormRegionMode formRegionMode, Microsoft.Office.Interop.Outlook.OlFormRegionSize formRegionSize, bool cancel);

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 that loads. This mode is represented by the OlFormRegionSize enumeration.

cancel
Boolean

A Boolean that indicates whether the form region should appear for outlookItem.

Returns

A FormRegionInitializingEventArgs that provides data for the FormRegionInitializing event of the form region factory class.

Applies to