Share via


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(System::Object ^ outlookItem, Microsoft::Office::Interop::Outlook::OlFormRegionMode formRegionMode, Microsoft::Office::Interop::Outlook::OlFormRegionSize formRegionSize, bool cancel);
public Microsoft.Office.Tools.Outlook.FormRegionInitializingEventArgs CreateFormRegionInitializingEventArgs (object outlookItem, Microsoft.Office.Interop.Outlook.OlFormRegionMode formRegionMode, Microsoft.Office.Interop.Outlook.OlFormRegionSize formRegionSize, bool cancel);
abstract member CreateFormRegionInitializingEventArgs : obj * Microsoft.Office.Interop.Outlook.OlFormRegionMode * Microsoft.Office.Interop.Outlook.OlFormRegionSize * bool -> Microsoft.Office.Tools.Outlook.FormRegionInitializingEventArgs
Public Function CreateFormRegionInitializingEventArgs (outlookItem As Object, formRegionMode As OlFormRegionMode, formRegionSize As OlFormRegionSize, cancel As Boolean) As FormRegionInitializingEventArgs

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