Factory.CreateFormRegionInitializingEventArgs Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Returns
A FormRegionInitializingEventArgs that provides data for the FormRegionInitializing event of the form region factory class.