Factory.CreateFormRegionInitializingEventArgs Method

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

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

FormRegionInitializingEventArgs CreateFormRegionInitializingEventArgs(
	Object outlookItem,
	OlFormRegionMode formRegionMode,
	OlFormRegionSize formRegionSize,
	bool cancel
)

Parameters

outlookItem
Type: System.Object

The Outlook item that caused the form region to load.

formRegionMode
Type: Microsoft.Office.Interop.Outlook.OlFormRegionMode

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

formRegionSize
Type: Microsoft.Office.Interop.Outlook.OlFormRegionSize

The type of form region that loads. This mode is represented by the OlFormRegionSize enumeration.

cancel
Type: System.Boolean

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

Return Value

Type: Microsoft.Office.Tools.Outlook.FormRegionInitializingEventArgs
A FormRegionInitializingEventArgs that provides data for the FormRegionInitializing event of the form region factory class.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft