Share via


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)

Syntax

'Declaration
Function CreateFormRegionInitializingEventArgs ( _
    outlookItem As Object, _
    formRegionMode As OlFormRegionMode, _
    formRegionSize As OlFormRegionSize, _
    cancel As Boolean _
) As FormRegionInitializingEventArgs
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.
  • 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.

.NET Framework Security

See Also

Reference

Factory Interface

Microsoft.Office.Tools.Outlook Namespace